* {
  box-sizing: border-box;
}

:root {
  --bg: #f2ebeb;
  --surface: #ffffff;
  --surface-soft: #efefec;
  --text: #2d3130;
  --muted: #707674;
  --line: #d8dbd8;
  --accent: #7e9d86;
  --accent-dark: #1fb3d8;
  --header: #ffffff;
  --shadow: 0 8px 24px rgba(27, 34, 31, 0.08);
  --radius: 5px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--header);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 124px;
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  width: fit-content;
}

.brand-mark {
  width: 54px;
  height: 65px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.brand strong {
  display: block;
  font-size: 21px;
  letter-spacing: .2px;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: #dce1de;
  font-size: 13px;
}

.main-nav {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.main-nav a {
  display: block;
  padding: 12px 21px;
  background: #eeeeee;
  text-decoration: none;
  color: #aaaaaa;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: #0685a5;
color:#ffffff;
}

.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 158px 22px 32px;
}

.content-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sidebar,
.main-card,
.info-box {
  background: var(--surface);
  border: 1px solid var(--line);
}

.sidebar {
  overflow: hidden;
}

.side-card {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.side-card h2,
.info-box h2 {
  margin: 0 0 9px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.side-card p,
.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-box {
  display: flex;
  gap: 12px;
  padding: 22px 18px;
  background: #fff;
}

.trust-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4efe7;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 24px;
}

.trust-box strong {
  display: block;
  font-size: 14px;
}

.trust-box span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.main-card {
  padding: 24px 28px 30px;
  box-shadow: var(--shadow);
}

.form-intro {
  padding-bottom: 19px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-dark);
}

.form-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.16;
color:#1fb3d8;
}

.form-intro p {
  max-width: 760px;
  margin: 0 0 8px;
  color: var(--muted);
}

.form-intro .hint {
  margin-bottom: 0;
  font-size: 13px;
}

.field {
  margin-bottom: 14px;
  width: 100%;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-row .field {
  margin-bottom: 14px;
}

.field-row .field-small {
  grid-column: auto;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd3d0;
  border-radius: 3px;
  background: #fff;
  color: #0000ff;
  padding: 12px 13px;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(126, 157, 134, .16);
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 5px 0 18px;
  font-weight: 400;
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 4px;
}

.submit-btn {
  appearance: none;
  border: 0;
  border-radius: 3px;
  padding: 13px 22px;
  background: #28A745;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: #4f6d58;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.info-box {
  min-height: 190px;
  padding: 22px;
background:var(--surface-soft);
}

.info-box a {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.small-note {
  margin-top: 11px !important;
  font-size: 12px !important;
}

.site-footer {
  margin-top: 20px;
  background: var(--header);
  color: #e8ece9;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-inner a {
  color: #fff;
}

.status-message {
  display: none;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  font-size: 14px;
}

.status-message.success {
  display: block;
  background: #e8f3eb;
  color: #35513e;
  border: 1px solid #bdd4c3;
}

.status-message.error {
  display: block;
  background: #f8e9e7;
  color: #7b3c33;
  border: 1px solid #e4bcb6;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 15px 16px 0;
  }

  .brand {
    margin-bottom: 13px;
  }

  .brand span {
    display: none;
  }

  .main-nav {
    overflow-x: auto;
  }

  .main-nav a {
    white-space: nowrap;
    flex: 1;
    text-align: center;
    padding: 11px 14px;
  }

  .page-wrap {
    padding: 145px 14px 26px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .main-card {
    order: 1;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 125px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    font-size: 23px;
  }

  .brand strong {
    font-size: 17px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 10px 8px;
  }

  .page-wrap {
    padding-top: 132px;
  }

  .main-card {
    padding: 20px 16px 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-intro h1 {
    font-size: 26px;
  }

  input,
  textarea {
    font-size: 16px; /* verhindert iOS-Zoom bei Fokus */
  }
}
