/* termin.css – angelehnt an weiher.css (WEIHER GmbH | interior solutions) */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  font-family: darkmode-on, sans-serif;
  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  color: #000000;
  background-color: #2d2d2d;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 20px 48px;
  background: linear-gradient(to bottom, #2d2d2d 0%, #2d2d2d 55%, rgba(45, 45, 45, 0.85) 80%, rgba(45, 45, 45, 0) 100%);
}

.site-header .logo {
  width: 265px;
  max-width: 70vw;
  height: auto;
  opacity: 0.9;
}

.wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 48px;
  background-color: rgba(255, 255, 255, 0.97);
  padding: 36px 40px 44px;
}

h1 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  margin-bottom: 0.4em;
}

.lead {
  font-size: clamp(15px, 1.7vw, 18px);
  margin-bottom: 1.8em;
  max-width: 42em;
}

.lead strong {
  font-weight: 400;
}

h2, .fieldset-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  padding-top: 0.2em;
  margin-bottom: 0.8em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label, .label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hint {
  font-size: 13px;
  color: #4a4a4a;
  font-weight: 300;
}

.req {
  color: #000;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  font-family: inherit;
  font-weight: 300;
  font-size: 16px;
  color: #000;
  background: #fff;
  border: 1px solid #c2c2c2;
  border-radius: 0;
  padding: 10px 12px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232d2d2d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid #000;
  border-color: #000;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.slot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 6px;
}

.check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #000;
}

.check a {
  text-decoration: underline;
}

.actions {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

button[type="submit"],
.btn {
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  background: #000;
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  letter-spacing: 0.02em;
  display: inline-block;
}

button[type="submit"]:hover,
.btn:hover {
  background: #2d2d2d;
  text-decoration: none;
}

.backlink {
  font-size: 14px;
  color: #2d2d2d;
}

.note {
  margin-top: 2em;
  font-size: 13px;
  color: #4a4a4a;
}

.errors {
  background: #f4f4f4;
  border-left: 3px solid #000;
  padding: 14px 16px;
  margin-bottom: 1.6em;
  font-size: 15px;
}

.errors ul {
  margin-left: 1.2em;
}

.success-box p + p {
  margin-top: 0.9em;
}

.success-box .summary {
  margin-top: 1.4em;
  padding-top: 1.2em;
  border-top: 1px solid #c2c2c2;
  font-size: 15px;
}

.success-box .summary dt {
  font-weight: 400;
  margin-top: 0.6em;
}

.success-box .summary dd {
  margin: 0;
}

.site-footer {
  background: #2d2d2d;
  color: #cccccc;
  padding: 28px 20px 36px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer a {
  color: #cccccc;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .foot-nav {
  margin-bottom: 0.3em;
}

.site-footer .foot-nav a + a::before {
  content: "  ·  ";
  color: #cccccc;
  text-decoration: none;
}

@media only screen and (max-width: 700px) {
  .wrap {
    width: 100%;
    padding: 24px 20px 36px;
    margin-bottom: 0;
  }

  .form-grid,
  .slot-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 12px 16px 36px;
  }

  .site-header .logo {
    width: 210px;
  }

  h1 {
    font-size: 24px;
  }

  .lead {
    font-size: 16px;
  }
}
