/* Dachwerk München — eigenständige Website-Demo, ohne externe Ressourcen. */
:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --white: #fffefa;
  --ink: #252c27;
  --muted: #62665e;
  --accent: #a74e32;
  --accent-hover: #8d3e27;
  --line: #dcded3;
  --dark: #29352e;
  --page-width: 1280px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, ul { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
button svg, .button svg, .main-nav svg, .hero-note svg, .about-location svg, .contact-detail svg, .form-footer p svg, .select-wrap svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: #e1b399; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--page-width), calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 106px; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 1.85px; line-height: 1.5; }
.serif-word { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.demo-bar { min-height: 34px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px; padding: 6px 20px; background: #e8ebdf; color: #475343; font-size: 10px; font-weight: 500; letter-spacing: .3px; }
.demo-bar > span:not(.demo-dot) { font-weight: 700; }
.demo-dot { width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #6d805e; }
.demo-bar a { margin-left: 18px; text-decoration: underline; text-underline-offset: 3px; }
.demo-bar a span { margin-left: 3px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246,245,240,.96); border-bottom: 1px solid rgba(37,44,39,.09); backdrop-filter: blur(16px); }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; color: var(--accent); }
.brand-name { font-size: 21px; line-height: 1; font-weight: 750; letter-spacing: 1.2px; }
.brand-name > span { display: block; margin-top: 7px; padding-left: 2px; font-size: 9px; letter-spacing: 4.7px; font-weight: 550; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 550; }
.main-nav > a { transition: color .18s ease; }
.main-nav > a:hover { color: var(--accent); }
.main-nav > a:not(.nav-contact) { position: relative; padding-block: 12px; }
.main-nav > a:not(.nav-contact)::after { position: absolute; content: ""; bottom: 6px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav > a:not(.nav-contact):hover::after { transform: scaleX(1); }
.main-nav .nav-contact { display: flex; align-items: center; gap: 24px; margin-left: 8px; padding: 12px 19px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius); transition: background .18s ease; }
.main-nav .nav-contact:hover { background: #405044; color: white; }
.main-nav .nav-contact svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 25px; min-height: 675px; align-items: center; padding-top: 36px; }
.hero-copy { position: relative; z-index: 2; padding-block: 40px 45px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 1.7px; }
.short-rule { width: 26px; height: 1px; background: var(--accent); }
h1 { margin-top: 26px; font-size: clamp(48px, 5.3vw, 76px); line-height: 1.075; letter-spacing: -3.7px; font-weight: 600; }
h1 .serif-word { color: var(--accent); font-size: 1.09em; letter-spacing: -3.9px; }
.hero-description { max-width: 385px; margin-top: 26px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 51px; padding: 14px 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .2s, transform .2s; }
.button-primary { background: var(--accent); color: #fffdf6; }
.button-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); }
.button svg { width: 19px; height: 19px; transition: transform .2s; }
.button:hover svg { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 17px; font-size: 12px; font-weight: 550; }
.text-link:hover { color: var(--accent); }
.text-link span { font-size: 19px; line-height: 1; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 43px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.hero-note > svg { width: 28px; height: 28px; color: #687c63; stroke-width: 1.2; }
.hero-note strong { font-weight: 500; color: var(--ink); }
.hero-visual { position: relative; align-self: stretch; min-height: 580px; background: #e8e9de; border-radius: 180px 4px 4px 4px; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 30% 25%, #f6f3e6 0, transparent 63%), linear-gradient(140deg, transparent 60%, #d9ddcd 100%); z-index: -2; }
.visual-topline { position: absolute; top: 29px; left: 70px; right: 24px; display: flex; justify-content: space-between; gap: 12px; font-size: 8px; font-weight: 600; letter-spacing: 1.4px; color: #64705f; }
.visual-orbit { position: absolute; width: 390px; height: 390px; top: 100px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(114,128,100,.17); border-radius: 50%; z-index: -1; }
.visual-orbit::before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(114,128,100,.1); border-radius: 50%; }
.house-illustration { position: absolute; width: 112%; max-width: none; height: auto; top: 15px; left: -5%; filter: drop-shadow(5px 15px 8px rgba(57,64,37,.06)); }
.visual-caption { position: absolute; display: flex; align-items: center; gap: 12px; left: 30px; bottom: 27px; font-size: 11px; font-weight: 500; line-height: 1.5; }
.caption-line { width: 26px; height: 1px; background: #78816a; }
.visual-caption small { display: block; margin-top: 4px; font-size: 8px; font-weight: 400; letter-spacing: .1px; color: #66715d; }
.visual-stamp { position: absolute; top: 60%; right: -17px; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 98px; height: 98px; background: #fbf9f0; color: #475c45; border: 1px solid #dce0d0; border-radius: 50%; transform: rotate(8deg); box-shadow: 0 4px 12px #2b3d2110; }
.visual-stamp svg { width: 27px; height: 27px; margin-bottom: 4px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.visual-stamp span { font-size: 7px; text-align: center; letter-spacing: 1.2px; line-height: 1.7; font-weight: 650; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 35px; padding-block: 22px 23px; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: 1.6px; font-weight: 600; }
.hero-bottom > span { color: #73796b; }
.hero-bottom > a { display: flex; align-items: center; gap: 21px; font-size: 10px; letter-spacing: .3px; }
.hero-bottom a span { font-size: 18px; font-weight: 400; }

/* Leistungen */
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 40px; }
.section-heading .eyebrow, .contact .eyebrow { color: var(--accent); }
h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 550; line-height: 1.2; letter-spacing: -1.6px; }
.section-heading h2 { margin-top: 17px; }
.section-heading > p { max-width: 300px; padding-bottom: 3px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-color: #bebfae; box-shadow: 0 9px 24px #29352e08; }
.service-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 191px; border-bottom: 1px solid var(--line); overflow: hidden; }
.art-renovation { background: #eee8dd; }
.art-window { background: #e8ebe2; }
.art-repair { background: #ede9df; }
.service-art svg { width: 85%; max-width: 320px; height: 190px; transition: transform .35s ease; }
.service-card:hover .service-art svg { transform: translateY(-4px); }
.service-number { position: absolute; top: 17px; left: 20px; color: #77796d; font-size: 9px; letter-spacing: 1px; }
.service-content { display: flex; flex-direction: column; flex: 1; padding: 25px 25px 0; }
h3 { font-size: 21px; font-weight: 550; line-height: 1.4; letter-spacing: -.5px; }
.service-content > p { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.service-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin-top: 21px; margin-bottom: 25px; }
.service-tags li { border: 1px solid #e2e4d9; border-radius: 2px; padding: 3px 7px; color: #5d6757; font-size: 9px; line-height: 1.7; }
.service-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 63px; margin-top: auto; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.service-link > span { font-size: 20px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.service-link:hover { color: var(--accent); }
.service-link:hover > span { transform: translate(2px,-2px); }

/* Über uns */
.about { background: var(--dark); color: #f1f1e5; }
.about:focus-visible, .about :focus-visible { outline-color: #d1b59a; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about .eyebrow { color: #bdc5ae; font-size: 10px; }
.about h2 { margin-top: 23px; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -1.5px; }
.about h2 .serif-word { color: #d1b59a; font-size: 1.1em; }
.about-copy > p:not(.eyebrow) { max-width: 396px; margin-top: 26px; color: #c4cabe; font-size: 13px; line-height: 1.9; }
.about-copy > p + p:not(.eyebrow) { margin-top: 13px; }
.about-signature { display: block; margin-top: 29px; color: #dddcc9; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; }
.principles { align-self: center; padding-top: 3px; }
.principle { display: grid; grid-template-columns: 33px 1fr; gap: 17px; padding-block: 27px; border-bottom: 1px solid #ffffff21; }
.principle:first-child { padding-top: 0; }
.principle > span { padding-top: 6px; color: #a6b096; font-size: 10px; letter-spacing: 1px; }
.principle h3 { font-size: 17px; letter-spacing: -.2px; }
.principle p { max-width: 325px; margin-top: 11px; color: #bdc5b7; font-size: 12px; line-height: 1.9; }
.about-location { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: #b2bda7; font-size: 9px; }
.about-location svg { width: 18px; height: 18px; stroke-width: 1.2; }

/* Kontakt */
.contact { padding-block: 110px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact h2 { margin-top: 21px; font-size: clamp(35px,3.6vw,49px); }
.contact h2 .serif-word { color: var(--accent); font-size: 1.08em; }
.contact-copy > p:not(.eyebrow) { max-width: 332px; margin-top: 26px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.contact-demo { margin-top: 37px; max-width: 342px; padding-top: 25px; border-top: 1px solid var(--line); }
.demo-label { display: inline-flex; padding: 3px 8px; background: #e8ebdf; color: #4f6247; border-radius: 2px; font-size: 8px; font-weight: 650; letter-spacing: 1px; }
.contact-demo h3 { margin-top: 12px; font-size: 16px; letter-spacing: -.2px; }
.contact-demo p { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.contact-detail { display: flex; align-items: center; gap: 7px; margin-top: 20px; color: #6c7564; font-size: 9px; }
.contact-detail svg { width: 16px; height: 16px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 31px; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-heading h3 { font-size: 21px; }
.form-heading > span { color: var(--accent); font-size: 29px; line-height: 1; }
.form-required { margin-top: 7px; margin-bottom: 24px; color: var(--muted); font-size: 9px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { min-width: 0; margin-bottom: 19px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 550; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 11px 12px; color: var(--ink); background: #f9f9f5; border: 1px solid #d9ddd0; border-radius: 3px; font-size: 12px; line-height: 1.6; transition: border-color .2s; }
.form-field input::placeholder, .form-field textarea::placeholder { opacity: 1; color: var(--muted); }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #a3af98; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid #758b64; outline-offset: 2px; }
.form-field textarea { min-height: 113px; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 36px; }
.select-wrap svg { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 17px; height: 17px; pointer-events: none; }
.form-footer p { display: flex; align-items: center; gap: 7px; margin-top: -1px; margin-bottom: 22px; color: var(--muted); font-size: 9px; }
.form-footer p svg { width: 12px; height: 12px; }
.form-footer .button { width: 100%; justify-content: space-between; }
.form-footer button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-status:empty { display: none; }
.form-status { margin-top: 19px; padding: 14px; background: #eaf0e4; border-left: 3px solid #6d805e; border-radius: 2px; color: #3f5338; font-size: 12px; line-height: 1.8; }
.no-script-note { margin-top: 18px; font-size: 12px; }

/* Abschluss */
.site-footer { padding-block: 44px 26px; background: #eaece3; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 33px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand .brand-name { font-size: 17px; }
.footer-brand .brand-name > span { font-size: 7px; letter-spacing: 4.1px; margin-top: 6px; }
.footer-top > p { color: #67715e; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-style: italic; }
.back-top { display: flex; align-items: center; gap: 22px; font-size: 10px; }
.back-top span { font-size: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 60px; padding-top: 22px; border-top: 1px solid #ced3c3; color: #606b56; font-size: 9px; line-height: 1.9; scroll-margin-top: 120px; }
.footer-bottom > p { max-width: 660px; }
.footer-bottom strong { color: #46523d; font-weight: 650; }
.footer-bottom > span { flex-shrink: 0; text-align: right; }

@media (min-width: 1440px) {
  .hero-grid { gap: 55px; min-height: 740px; }
  h1 { font-size: 82px; }
  .hero-visual { min-height: 665px; }
  .house-illustration { top: 20px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 24px; }
  .hero-description { max-width: 410px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .header-inner { min-height: 85px; }
  .hero-grid { min-height: 610px; gap: 15px; padding-top: 30px; }
  .hero-visual { min-height: 550px; }
  .house-illustration { top: 55px; width: 115%; left: -8%; }
  .visual-topline { left: 55px; font-size: 7px; letter-spacing: 1px; }
  .visual-topline span:first-child { display: none; }
  .visual-topline span:last-child { margin-left: auto; }
  h1 { font-size: clamp(45px,5.6vw,63px); letter-spacing: -2.7px; }
  h1 .serif-word { letter-spacing: -3px; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .hero-description { max-width: 340px; font-size: 13px; }
  .visual-orbit { width: 300px; height: 300px; top: 125px; }
  .visual-stamp { width: 83px; height: 83px; top: 60%; right: -12px; }
  .visual-stamp span { font-size: 6px; }
  .visual-caption { left: 22px; font-size: 9px; gap: 8px; }
  .visual-caption small { font-size: 7px; }
  .hero-bottom { margin-top: 24px; }
  .section-space { padding-block: 82px; }
  .service-grid { gap: 17px; }
  .service-content { padding: 22px 20px 0; }
  .service-art { min-height: 165px; }
  .service-art svg { height: 165px; }
  .service-content > p { font-size: 11px; }
  .service-tags li { font-size: 8px; }
  .service-link { font-size: 10px; }
  .about-grid { gap: 55px; }
  .contact-grid { gap: 48px; }
  .contact-form { padding: 26px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 94px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 78px; gap: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .brand-name > span { font-size: 8px; letter-spacing: 4px; }
  .main-nav { gap: 22px; font-size: 11px; }
  .main-nav .nav-contact { gap: 15px; padding: 10px 13px; margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 540px; gap: 15px; }
  .hero-copy { padding-block: 25px 30px; }
  h1 { font-size: 44px; letter-spacing: -2.6px; }
  h1 .serif-word { letter-spacing: -2.5px; }
  .hero-visual { min-height: 485px; border-top-left-radius: 130px; }
  .house-illustration { width: 132%; top: 77px; left: -19%; }
  .hero-copy > .eyebrow { letter-spacing: .8px; gap: 8px; font-size: 7px; }
  .short-rule { width: 18px; }
  .hero-description { margin-top: 23px; font-size: 12px; }
  .hero-actions { margin-top: 25px; gap: 17px; }
  .hero-actions .button { padding-inline: 15px; gap: 17px; font-size: 10px; }
  .hero-note { margin-top: 29px; font-size: 8px; }
  .hero-note svg { width: 22px; height: 22px; }
  .text-link { font-size: 10px; }
  .visual-topline { top: 29px; right: 18px; font-size: 6px; }
  .visual-caption { left: 18px; bottom: 23px; font-size: 8px; }
  .visual-caption .caption-line { display: none; }
  .visual-caption small { max-width: 190px; font-size: 6px; }
  .visual-stamp { width: 71px; height: 71px; right: -9px; top: 62%; }
  .visual-stamp svg { width: 23px; height: 23px; }
  .visual-stamp span { font-size: 5px; }
  .visual-orbit { top: 140px; width: 250px; height: 250px; }
  .section-heading { gap: 28px; }
  .section-heading > p { max-width: 225px; font-size: 12px; }
  h2 { font-size: 34px; }
  .service-grid { gap: 13px; }
  .service-content { padding: 18px 15px 0; }
  .service-content h3 { font-size: 18px; }
  .service-content > p { font-size: 11px; }
  .service-tags { gap: 4px; margin-bottom: 17px; }
  .service-tags li { font-size: 7px; padding: 3px 5px; }
  .service-link { font-size: 9px; gap: 4px; min-height: 56px; }
  .service-art { min-height: 145px; }
  .service-art svg { width: 99%; height: 145px; }
  .service-number { left: 14px; top: 12px; font-size: 8px; }
  .about-grid { gap: 38px; }
  .about h2 { font-size: 34px; }
  .about-copy > p:not(.eyebrow) { font-size: 12px; }
  .about-signature { font-size: 15px; }
  .principle { grid-template-columns: 20px 1fr; gap: 12px; padding-block: 23px; }
  .principle h3 { font-size: 15px; }
  .principle p { font-size: 11px; }
  .about-location { align-items: flex-start; font-size: 8px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 30px; }
  .contact h2 { font-size: 35px; }
  .contact-copy > p:not(.eyebrow) { font-size: 12px; }
  .contact-form { padding: 23px; }
  .form-heading h3 { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-detail { align-items: flex-start; }
  .footer-top > p { font-size: 13px; }
  .footer-bottom { gap: 30px; font-size: 8px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 87px; }
  .container { width: calc(100% - 40px); }
  .section-space { padding-block: 64px; }
  .demo-bar { min-height: 32px; font-size: 8px; letter-spacing: .1px; padding: 6px 12px; gap: 4px; }
  .demo-bar > span:not(.demo-dot) { font-size: 8px; }
  .demo-bar a { margin-left: 5px; font-size: 8px; }
  .demo-dot { margin-right: 1px; width: 4px; height: 4px; }
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: 0; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .menu-toggle:not([hidden]) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid #d4dacb; border-radius: 3px; }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .main-nav { width: 100%; padding-block: 3px 20px; gap: 5px; flex-direction: column; align-items: stretch; font-size: 14px; }
  .main-nav > a:not(.nav-contact) { padding: 10px 0; }
  .main-nav > a:not(.nav-contact)::after { display: none; }
  .main-nav .nav-contact { justify-content: space-between; margin-top: 8px; padding: 13px 15px; font-size: 12px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 23px; }
  .hero-copy { padding-block: 23px 0; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 1.3px; gap: 10px; }
  .short-rule { width: 22px; }
  h1 { margin-top: 22px; font-size: clamp(40px,9.5vw,59px); letter-spacing: -2.7px; line-height: 1.08; }
  h1 .serif-word { letter-spacing: -2.7px; }
  .hero-description { max-width: 385px; margin-top: 22px; font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 19px; margin-top: 26px; }
  .hero-actions .button { min-height: 51px; padding: 14px 20px; font-size: 12px; gap: 22px; }
  .text-link { font-size: 12px; }
  .hero-note { margin-top: 29px; font-size: 9px; }
  .hero-note svg { width: 25px; height: 25px; }
  .hero-visual { aspect-ratio: 1 / 1.05; min-height: 0; max-height: 570px; border-top-left-radius: 130px; margin-top: 2px; }
  .house-illustration { top: -2%; left: -5%; width: 110%; }
  .visual-topline { top: 23px; left: 55px; right: 22px; font-size: 7px; }
  .visual-topline span:first-child { display: block; }
  .visual-topline span:last-child { margin-left: 0; }
  .visual-caption { left: 22px; bottom: 22px; font-size: 10px; }
  .visual-caption small { max-width: none; font-size: 7px; }
  .visual-caption .caption-line { display: block; width: 19px; }
  .visual-stamp { right: -8px; top: 58%; width: 79px; height: 79px; }
  .visual-stamp span { font-size: 5.5px; }
  .visual-orbit { width: 75%; height: auto; aspect-ratio: 1; top: 17%; }
  .hero-bottom { margin-top: 24px; padding-block: 17px; font-size: 8px; }
  .hero-bottom > a { font-size: 9px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 19px; margin-bottom: 30px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.7px; }
  h2 { font-size: 36px; letter-spacing: -1.4px; }
  .section-heading h2 { margin-top: 15px; }
  .section-heading > p { max-width: 345px; font-size: 13px; }
  .service-grid { grid-template-columns: 1fr; gap: 23px; }
  .service-art { min-height: 189px; }
  .service-art svg { width: 80%; height: 189px; }
  .service-number { top: 17px; left: 22px; font-size: 9px; }
  .service-content { padding: 24px 24px 0; }
  .service-content h3 { font-size: 23px; }
  .service-content > p { font-size: 13px; line-height: 1.85; margin-top: 11px; }
  .service-tags { margin-top: 20px; margin-bottom: 23px; gap: 6px; }
  .service-tags li { font-size: 9px; padding: 3px 7px; }
  .service-link { min-height: 63px; font-size: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about .eyebrow { font-size: 9px; }
  .about h2 { font-size: 37px; margin-top: 19px; }
  .about-copy > p:not(.eyebrow) { font-size: 13px; max-width: 100%; }
  .about-signature { font-size: 17px; }
  .principle { grid-template-columns: 26px 1fr; gap: 14px; padding-block: 24px; }
  .principle > span { font-size: 10px; }
  .principle h3 { font-size: 17px; }
  .principle p { max-width: 100%; font-size: 12px; }
  .about-location { font-size: 9px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact h2 { font-size: 40px; margin-top: 17px; }
  .contact-copy > p:not(.eyebrow) { max-width: 100%; font-size: 13px; margin-top: 21px; }
  .contact-demo { max-width: 100%; margin-top: 26px; padding-top: 23px; }
  .contact-demo p { font-size: 12px; }
  .contact-detail { font-size: 10px; }
  .contact-form { padding: 25px 22px; }
  .form-heading h3 { font-size: 21px; }
  .form-required { font-size: 10px; margin-top: 9px; }
  .form-field label { font-size: 12px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; padding: 12px; }
  .form-field input::placeholder, .form-field textarea::placeholder { font-size: 13px; }
  .form-field { margin-bottom: 21px; }
  .form-footer p { align-items: flex-start; font-size: 10px; }
  .form-footer p svg { margin-top: 2px; }
  .form-footer .button { font-size: 12px; padding-inline: 15px; gap: 10px; }
  .site-footer { padding-top: 35px; }
  .footer-top { flex-wrap: wrap; gap: 23px; padding-bottom: 26px; }
  .footer-top > p { order: 3; width: 100%; font-size: 16px; }
  .back-top { gap: 12px; font-size: 9px; }
  .footer-bottom { flex-direction: column; gap: 20px; font-size: 10px; }
  .footer-bottom > span { text-align: left; font-size: 9px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .demo-bar { gap: 3px; }
  .demo-bar > a { display: none; }
  h1 { font-size: 39px; letter-spacing: -2.5px; }
  .hero-copy > .eyebrow { font-size: 7px; }
  .visual-topline span:first-child { display: none; }
  .visual-topline span:last-child { margin-left: auto; }
  .visual-caption { left: 17px; font-size: 9px; }
  .visual-caption small { font-size: 6px; }
  .visual-caption .caption-line { display: none; }
  .about h2 { font-size: 33px; }
  .contact-form { padding-inline: 17px; }
  .form-heading h3 { font-size: 19px; }
  .back-top { font-size: 8px; gap: 8px; }
}

/* Relevante Inhalte bleiben auch zwischen den Layout-Stufen gut lesbar. */
.hero-description,
.section-heading > p,
.service-content > p,
.about-copy > p:not(.eyebrow),
.principle p,
.contact-copy > p:not(.eyebrow) { font-size: 15px; }
.service-tags li { font-size: 11px; }
.service-link { font-size: 12px; }
.contact-demo p,
.form-field label,
.form-required,
.form-footer p { font-size: 13px; }
.form-field input,
.form-field select,
.form-field textarea { font-size: 16px; border-color: #858b7e; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--muted); }
.form-status { font-size: 14px; }

/* Auf Tablets bekommen die Leistungen Platz statt dreier schmaler Spalten. */
@media (min-width: 641px) and (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .service-art { border-bottom: 0; border-right: 1px solid var(--line); }
  .service-art svg { width: 90%; height: 190px; }
  .service-content { padding: 24px 24px 0; }
  .service-content h3 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
