@font-face {
  font-family: 'DM Sans';
  src: url('/demos/neckarblank/assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/demos/neckarblank/assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f7f8f3;
  --ink: #112b23;
  --green: #155240;
  --lime: #e1eea1;
  --muted: #4f6359;
  --line: #d8e1d5;
  --radius: clamp(22px, 3vw, 42px);
  --chapter-radius: clamp(32px, 6vw, 92px);
  --nav-width: 1300px;
}

body { font-family: 'DM Sans', Arial, sans-serif; }
html { scroll-padding-top: 112px; }
.wrap { width: min(var(--nav-width), calc(100% - 96px)); }
section { scroll-margin-top: 8px; }
h2 { font-size: clamp(40px, 5vw, 76px); font-weight: 550; line-height: .99; }
.eyebrow { color: var(--green); font-size: 12px; letter-spacing: .1em; }
.section { padding-block: clamp(72px, 8.2vw, 130px); }

.header {
  top: 12px;
  padding: 0;
  margin: 12px auto 0;
  width: min(var(--nav-width), calc(100% - 56px));
  border: 1px solid #fff;
  border-radius: 23px;
  background: rgba(249, 250, 245, .94);
  box-shadow: 0 7px 30px #11362a11, 0 1px 2px #11362a0e;
  backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(249, 250, 245, .88);
  border-color: #ffffffaa;
  box-shadow: 0 12px 32px #102b2325;
}
.header-inner { width: 100%; height: 72px; padding: 0 14px 0 19px; gap: 20px; }
.header .brand-mark { border-radius: 13px; }
.main-nav { gap: clamp(18px, 3vw, 45px); font-size: 14px; font-weight: 550; }
.header-actions { gap: 12px; }
.languages { padding: 2px; gap: 0; background: #e9eee4; border-radius: 25px; }
.languages > a { min-width: 44px; min-height: 44px; border-radius: 24px; }
.languages > a[aria-current] { background: #fff; box-shadow: 0 1px 6px #15332612; }
.languages > a[aria-current]::after { content: none; }
.button { border-radius: 16px; font-weight: 650; font-size: 15px; }
.button-small { border-radius: 13px; font-size: 13px; min-height: 48px; }
.button-icon { border-radius: 11px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 12px;
}
.menu-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform .22s var(--ease); }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero {
  position: relative;
  padding: clamp(26px, 5vw, 76px) 0 18px;
  background: radial-gradient(ellipse at 72% 28%, #e8eedc 0, transparent 64%);
}
.hero-grid { grid-template-columns: 1.06fr 1fr; gap: clamp(28px, 4.1vw, 68px); align-items: center; }
.hero-copy { padding: 0 0 8px; }
.hero h1 {
  max-width: 12ch;
  margin-top: 20px;
  font-size: clamp(44px, 5.15vw, 80px);
  font-weight: 580;
  line-height: .99;
  letter-spacing: -.065em;
}
html[lang='de'] .hero h1 { max-width: none; }
.hero h1 em {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.14em;
  line-height: .93;
  letter-spacing: -.038em;
  margin-top: .07em;
}
.hero-location { margin-top: 24px; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -.03em; }
.hero-services { font-size: 13px; margin-top: 9px; }
.hero-cta { margin-top: 25px; }
.postcode-check { margin-top: 25px; }
.postcode-check h2 { font-size: 14px; letter-spacing: -.015em; }
.check-row { flex-wrap: nowrap; border-radius: 13px; }
.check-row input { font-size: 16px; }
.check-row button {
  width: auto;
  border: 0;
  border-radius: 9px;
  padding-inline: 12px;
  background: #e9efde;
  color: var(--ink);
  font-weight: 650;
  transition: background .2s;
}
.check-row button:hover { background: var(--lime); }
.check-result { font-size: 12px; min-height: 22px; }
.hero-visual { position: relative; display: block; min-width: 0; }
.hero-photo { height: clamp(490px, 45vw, 665px); border-radius: var(--radius); }
.hero-photo img { object-position: 62% center; }
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 57% 0 0;
  background: linear-gradient(transparent, #102b2370);
  pointer-events: none;
}
.brand-quote {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 18px;
  right: 18px;
  margin: 0;
  padding: 18px 20px 20px 56px;
  border: 1px solid #f5ffdf;
  border-radius: 20px;
  background: #eaf2cceF;
  backdrop-filter: blur(14px);
}
.brand-quote > .icon { position: absolute; top: 23px; left: 18px; color: var(--green); }
.brand-quote p { max-width: none; font-size: clamp(17px, 1.8vw, 25px); font-weight: 540; }
.brand-quote footer { margin-top: 8px; font-size: 10px; color: var(--muted); }
.quote-line { height: 2px; width: calc(100% - 40px); left: 20px; bottom: 0; opacity: .35; }
.hero-bottom { border: 0; margin-top: 20px; padding-bottom: 0; justify-content: center; }
.hero-bottom a { border-radius: 100px; padding: 0 16px; background: #e9eee1; font-size: 12px; gap: 10px; }
.hero-bottom a span { transition: transform .25s var(--ease); }
.hero-bottom a:hover span { transform: translateY(3px); }

.services { padding-top: clamp(65px, 7vw, 105px); }
.section-heading { margin-top: 18px; margin-bottom: 34px; }
.section-heading > p { font-size: 16px; max-width: 315px; line-height: 1.6; }
.service-grid { gap: 16px; border: 0; border-radius: 0; overflow: visible; }
.service-card, .service-card + .service-card {
  min-width: 0;
  padding: 9px;
  border: 1px solid #e2e8de;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 28px #13362a09;
  transition: box-shadow .3s var(--ease);
}
.service-image { position: relative; overflow: hidden; aspect-ratio: 1.48; background: #dbe4da; border-radius: 18px; }
.service-image img { height: 100%; transition: transform .75s var(--ease); }
.service-card:nth-child(2) img { object-position: 50% 57%; }
.service-icon { position: absolute; left: 12px; bottom: 12px; width: 48px; height: 48px; background: var(--lime); border-radius: 13px; }
.service-icon .icon { width: 25px; height: 25px; }
.service-body { padding: 18px 16px 20px; }
.service-card h3 { min-height: 0; font-size: clamp(21px, 2.13vw, 31px); font-weight: 570; overflow-wrap: anywhere; }
.service-body p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (hover:hover) and (pointer:fine) {
  .service-card:hover { box-shadow: 0 18px 40px #13362a18; }
  .service-card:hover img { transform: scale(1.065); }
}

.area-section {
  border-radius: var(--chapter-radius);
  background: radial-gradient(ellipse at 93% 12%, #2c614d, #143f33 70%);
  padding-block: clamp(58px, 7.2vw, 104px);
}
.area-grid { grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(20px, 5vw, 78px); }
.area-section h2 { margin-top: 16px; }
.area-copy .area-intro { margin-top: 20px; font-size: 16px; line-height: 1.6; }
.area-copy .text-link { margin-top: 15px; }
.area-map {
  position: relative;
  min-width: 0;
  aspect-ratio: 560 / 290;
  overflow: hidden;
  border: 1px solid #dbeebd38;
  border-radius: 26px;
  background: #123e32;
}
.area-map svg { width: 100%; height: 100%; }
.map-contours { fill: none; stroke: #bdd79b44; stroke-width: 1; }
.map-route { fill: none; stroke: #dceb95; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; }
.in-view .map-route { animation: route-draw 1.25s var(--ease) both; }
.map-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f6f9ec;
  font-size: clamp(10px, 1.1vw, 14px);
  font-weight: 650;
  text-shadow: 0 1px 4px #082f23;
}
.map-point i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #e1eea12b; }
.point-winnenden { left: calc(17.86% - 4px); top: calc(70.7% - .75em); }
.point-leutenbach { left: calc(48% - 4px); top: calc(34.1% - .75em); }
.point-backnang { right: calc(18.75% - 5px); top: calc(21% - .75em); flex-direction: row-reverse; }
.area-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin-top: 28px; }
.town, .town:first-of-type {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dbeebd38;
  border-radius: 16px;
  background: #ffffff0d;
}
.town h3 { font-size: clamp(18px, 2vw, 27px); }
.town > .icon { width: 20px; height: 20px; }
.town-postcode { font-size: 12px; }
.area-other { max-width: none; font-size: 13px; margin-top: 14px; }

.process-grid { margin-top: 0; gap: clamp(26px, 6.5vw, 104px); grid-template-columns: .95fr 1.05fr; }
.process-photo { height: clamp(420px, 43vw, 630px); border-radius: var(--radius); background: #e8eae2; }
.process-photo img { object-position: 50% 45%; }
.process h2 { margin-top: 16px; }
.steps { margin-top: 32px; }
.steps li { gap: 14px; }
.steps h3 { font-size: 23px; font-weight: 580; }
.steps p { font-size: 15px; line-height: 1.55; }
.step-number { background: #eaf0dd; border-color: #d9e4c9; font-size: 12px; }

.quote-section { border-radius: var(--chapter-radius); background: radial-gradient(ellipse at 10% 12%, #f1f3dd, #e5ede2 76%); }
.quote-grid { gap: clamp(25px, 6vw, 90px); }
.quote-intro h2 { margin-top: 16px; }
.quote-intro > p:not(.eyebrow), .form-tip p { font-size: 15px; line-height: 1.6; }
.form-tip { margin-top: 26px; max-width: 410px; }
.form-tip h3 { font-size: 16px; }
.quote-photo { margin-top: 24px; width: min(290px, 90%); height: 140px; border-radius: 24px; overflow: hidden; }
.quote-photo img { height: 100%; object-position: center 58%; }
.form-panel { border-radius: 27px; box-shadow: 0 18px 46px #1e422c13; }
.form-panel-top h3 { font-size: 25px; font-weight: 570; }
.sample-button { font-size: 13px; font-weight: 650; }
.demo-notice, .submit-note, .field-hint { font-size: 12px; }
.field > label { font-size: 14px; }
.field input:not([type=checkbox]), .field select { border-radius: 10px; font-size: 16px; }
.field select {
  min-height: 50px;
  border-radius: 13px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.field select:invalid { color: var(--muted); }
.field select option { color: var(--ink); }
.field select:focus-visible { outline-offset: 2px; }

@supports (appearance: base-select) and selector(select::picker(select)) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select {
    background-image: none;
    padding: 10px 13px;
    align-items: center;
    gap: 9px;
  }
  .field select::picker-icon {
    display: block;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    content: '';
    border-radius: 8px;
    background: #e9efde url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155240' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 17px no-repeat;
    margin-inline-start: auto;
    transition: transform .22s var(--ease);
  }
  .field select:open::picker-icon { transform: rotate(180deg); }
  .field select::picker(select) {
    margin-block: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 28px #11362a24;
  }
  .field select:open::picker(select) { animation: menu-in .2s var(--ease) both; }
  .field #frequency::picker(select) {
    position-area: block-end;
    position-try-fallbacks: none;
    position-try-order: normal;
    max-block-size: stretch;
  }
  .field select option {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
  }
  .field select option[hidden] { display: none; }
  .field select option:checked { background: #e9efde; font-weight: 650; }
  .field select option:is(:hover, :focus-visible) { background: #edf2e7; }
  .field select option:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
  .field select option::checkmark { order: 1; color: var(--green); }

  @media (prefers-reduced-motion: reduce) {
    .field select:open::picker(select) { animation: none; }
    .field select::picker-icon { transition: none; }
  }
}
.field input::placeholder { color: #657267; }
.checkbox-row > span:last-child { font-size: 14px; }
.site-footer { padding-top: 42px; }
.footer-top > p { font-size: clamp(24px, 3vw, 40px); }
.footer-bottom { font-size: 12px; }

@keyframes route-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chapter-in { from { opacity: .1; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
[data-reveal].is-revealed { animation: chapter-in .66s var(--ease) calc(var(--order, 0) * 70ms) backwards; }
[data-reveal]:focus-within { animation: none; }
.hero-copy > :is(.eyebrow, h1, .hero-services) { animation: chapter-in .65s var(--ease) backwards; }
.hero-copy > h1 { animation-delay: 70ms; }
.hero-copy > .hero-services { animation-delay: 140ms; }
.brand-quote { animation: chapter-in .65s var(--ease) 170ms backwards; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .header .wrap { width: 100%; }
  .hero h1 { font-size: clamp(41px, 5.5vw, 58px); }
  .town { gap: 8px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .mobile-nav {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 12px 32px #102b2325;
    animation: menu-in .24s var(--ease) both;
  }
  .mobile-nav a { min-height: 48px; display: flex; justify-content: space-between; align-items: center; padding-inline: 5px; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }
  .mobile-nav .icon { width: 16px; height: 16px; }
  .area-map { border-radius: 19px; }
  .town, .town:first-of-type { grid-template-columns: auto 1fr; min-height: 58px; }
  .town-postcode { grid-column: 2; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .wrap { width: calc(100% - 36px); }
  .header { top: 8px; margin-top: 8px; width: calc(100% - 20px); border-radius: 18px; }
  .header-inner { padding-inline: 10px; height: 62px; gap: 8px; }
  .header-actions { gap: 6px; }
  .brand-name { font-size: 19px; }
  .hero h1 { font-size: clamp(42px, 9.6vw, 65px); max-width: none; }
  .hero-grid, .area-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 22px; }
  .hero-photo { height: clamp(330px, 84vw, 465px); }
  .hero-location { margin-top: 15px; }
  .hero-cta { max-width: 370px; }
  .brand-quote { bottom: 10px; left: 10px; right: 10px; padding: 14px 14px 15px 45px; border-radius: 16px; }
  .brand-quote > .icon { top: 16px; left: 13px; width: 20px; height: 20px; }
  .brand-quote p { font-size: 18px; }
  .section-heading > p { margin-top: 15px; }
  .service-grid { gap: 14px; }
  .service-image { aspect-ratio: 1.7; }
  .service-card h3 { font-size: 27px; }
  .service-body { padding: 15px 13px; }
  .area-grid { gap: 22px; }
  .area-list { margin-top: 12px; gap: 8px; grid-template-columns: 1fr; }
  .town, .town:first-of-type { grid-template-columns: auto 1fr auto; padding-block: 11px; }
  .town-postcode { grid-column: auto; }
  .process-photo { height: clamp(280px, 80vw, 430px); }
  .process-content { grid-row: 1; }
  .steps li { padding-block: 18px; }
  .quote-photo { display: none; }
  .form-panel { padding: 23px 17px; }
}

@media (max-width: 360px) {
  .brand-name { font-size: 16px; }
  .brand-name > span { font-size: 7px; }
  .brand-mark { height: 32px; width: 32px; }
  .header-inner { padding-inline: 7px; }
  .header-actions { gap: 3px; }
  .hero h1 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .service-card:hover img, .hero-bottom a:hover span { transform: none; }
}
