:root {
  --red: #b32620;
  --red-dark: #8f1d19;
  --ink: #191817;
  --muted: #67615d;
  --paper: #fffdfa;
  --warm: #f5f1ec;
  --line: #e7e0d9;
  --white: #ffffff;
  --max: 1240px;
  --shadow: 0 24px 60px rgba(34, 24, 19, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: white; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.brand { display: inline-flex; flex-direction: column; gap: 5px; width: max-content; text-decoration: none; line-height: 1; }
.brand__mark { display: grid; grid-template-columns: 1fr 1.18fr; width: 108px; height: 40px; border: 1.5px solid var(--red); }
.brand__mark-white { background: var(--white); }
.brand__mark-red { background: var(--red); }
.brand__name { color: var(--red); font-size: 17px; letter-spacing: -0.035em; white-space: nowrap; }
.brand__name span { font-weight: 800; }
.brand--large { gap: 10px; }
.brand--large .brand__mark { width: 156px; height: 58px; }
.brand--large .brand__name { font-size: 26px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 92px; background: rgba(255, 253, 250, 0.96); border-bottom: 1px solid transparent; transition: height .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { height: 78px; border-color: var(--line); box-shadow: 0 8px 30px rgba(34, 24, 19, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header.is-scrolled .brand__mark { height: 34px; }
.site-header .brand__mark { transition: height .25s ease; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; color: #3f3b38; font-size: 14px; font-weight: 650; text-decoration: none; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--red); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--red); }
.main-nav .nav-cta { padding: 11px 18px; color: white; background: var(--red); border-radius: 4px; transition: background .2s ease, transform .2s ease; }
.main-nav .nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; margin-top: 0; padding: 142px 0 76px; background: var(--warm); }
.hero::before { content: ""; position: absolute; left: 0; right: 55%; bottom: 0; height: 5px; background: var(--red); }
.hero__grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(52px, 7vw, 112px); }
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 610px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.eyebrow--light { color: #ffc8c3; }
.hero h1 { margin: 0; font-size: clamp(54px, 6vw, 88px); letter-spacing: -.055em; line-height: .98; }
.hero__content > p:not(.eyebrow) { margin: 28px 0 0; max-width: 510px; color: #4f4a46; font-size: 20px; line-height: 1.6; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hero__visual { position: relative; z-index: 1; height: min(66vh, 640px); min-height: 500px; margin: 0; box-shadow: var(--shadow); }
.hero__visual::before { content: ""; position: absolute; z-index: -1; left: -22px; top: -22px; width: 45%; height: 48%; background: var(--red); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__visual figcaption { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 15px 18px; color: white; background: rgba(22,20,18,.82); backdrop-filter: blur(8px); font-size: 13px; }
.hero__visual figcaption span { display: block; margin-bottom: 2px; color: #ffc8c3; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero__accent { position: absolute; z-index: 0; right: -80px; bottom: -110px; width: 260px; height: 260px; border: 58px solid rgba(179,38,32,.06); border-radius: 50%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 13px 24px; border: 0; border-radius: 4px; font-size: 15px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--red); box-shadow: 0 12px 30px rgba(179,38,32,.2); }
.button--primary:hover { background: var(--red-dark); box-shadow: 0 16px 34px rgba(179,38,32,.28); }
.button--light { width: 100%; color: var(--red); background: white; }
.button--light:hover { background: #fff4f2; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 750; text-decoration: none; }
.text-link span { color: var(--red); font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 32px; width: 26px; height: 42px; border: 1px solid rgba(25,24,23,.4); border-radius: 18px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 3px; height: 7px; border-radius: 4px; background: var(--red); transform: translateX(-50%); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translate(-50%, -3px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

.section { padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; margin-bottom: 54px; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); letter-spacing: -.045em; line-height: 1.07; }
.section-heading > p { max-width: 520px; margin: 0 0 6px; color: var(--muted); font-size: 18px; }
.section-heading--center { grid-template-columns: 1fr; gap: 16px; max-width: 780px; margin-inline: auto; text-align: center; }
.section-heading--center > p { margin-inline: auto; }
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 450px; padding: 34px 30px 32px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.service-card:hover { position: relative; z-index: 1; background: white; transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__number { color: #b8afa8; font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.service-card__line { width: 42px; height: 3px; margin: 42px 0 28px; background: var(--red); transition: width .25s ease; }
.service-card:hover .service-card__line { width: 74px; }
.service-card h3 { margin: 0 0 16px; font-size: 25px; letter-spacing: -.035em; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.service-card ul { display: grid; gap: 7px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; color: #4e4945; font-size: 13px; }
.service-card li::before { content: "—"; margin-right: 8px; color: var(--red); }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; background: var(--warm); }
.about__image-wrap { position: relative; min-height: 620px; overflow: hidden; }
.about__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; width: 180px; height: 130px; padding: 24px; color: white; background: var(--red); }
.about__badge strong { font-size: 24px; line-height: 1; }
.about__badge span { margin-top: 8px; color: #ffd9d6; font-size: 13px; }
.about__content { align-self: center; max-width: 620px; padding: 72px clamp(48px, 8vw, 120px); }
.about__intro { margin: 28px 0 14px; color: var(--ink); font-size: 21px; font-weight: 700; }
.about__content > p:not(.eyebrow):not(.about__intro) { color: var(--muted); }
.signature { margin: 28px 0 14px; color: var(--red); font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 29px; transform: rotate(-2deg); }

.gallery-section { background: white; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
.project-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-card__media { display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-template-rows: 430px; gap: 4px; padding: 4px; background: white; }
.project-card__main, .project-card__detail { position: relative; overflow: hidden; padding: 0; background: #ddd; border: 0; cursor: pointer; }
.project-card__main img, .project-card__detail img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.project-card__media--portrait .project-card__main img { object-position: center 58%; }
.project-card__main:hover img, .project-card__main:focus-visible img, .project-card__detail:hover img, .project-card__detail:focus-visible img { transform: scale(1.045); }
.project-card__main > span { position: absolute; left: 16px; bottom: 16px; padding: 8px 11px; color: white; background: rgba(20,18,17,.76); font-size: 11px; font-weight: 750; backdrop-filter: blur(6px); }
.project-card__detail::after { content: "+"; position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; color: white; background: var(--red); border-radius: 50%; font-size: 20px; }
.project-card__meta { padding: 25px 27px 28px; }
.project-card__meta p { margin: 0 0 8px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.project-card__meta h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; line-height: 1.2; }
.project-card__meta > span { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; }
.gallery-note { margin: 30px 0 0; color: #8a827d; font-size: 12px; text-align: center; }

.contact { padding: 112px 0; color: white; background: var(--red); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 130px); }
.contact__intro h2 { max-width: 560px; }
.contact__intro > p:not(.eyebrow) { max-width: 520px; color: #f6cac7; font-size: 18px; }
.contact__details { display: grid; gap: 18px; margin-top: 42px; }
.contact__details > *, .contact__details a { display: flex; align-items: center; gap: 16px; color: white; text-decoration: none; }
.contact__details > * > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-weight: 800; }
.contact__details small { display: block; color: #f4bebb; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-form { display: grid; gap: 17px; padding: 38px; color: var(--ink); background: #fffdfa; box-shadow: 0 34px 80px rgba(80, 10, 8, .24); }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.contact-form label > span { color: #8a827d; font-weight: 450; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 13px 14px; color: var(--ink); background: white; border: 1px solid #dcd4cd; border-radius: 2px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { min-height: 124px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,38,32,.1); }
.contact-form .consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: #5e5752; font-size: 12px; font-weight: 450; }
.contact-form .consent input { width: 16px; margin-top: 4px; accent-color: var(--red); }
.contact-form .consent a { color: var(--red); }
.contact-form__hint { margin: -5px 0 0; color: #786f69; font-size: 11px; text-align: center; }
.contact-form__hint a { color: var(--red); font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { display: none; margin: 0; padding: 10px 12px; font-size: 13px; }
.form-status.success, .form-status.error { display: block; }
.form-status.success { color: #176334; background: #eaf8ef; }
.form-status.error { color: #8d241e; background: #fff0ee; }

.site-footer { padding: 30px 0; color: #d9d4d0; background: #171513; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand--footer .brand__mark { width: 82px; height: 28px; border-color: #d7443c; }
.brand--footer .brand__name { color: white; font-size: 14px; }
.footer-inner p { margin: 0; font-size: 12px; }
.footer-inner nav { display: flex; justify-content: flex-end; gap: 24px; font-size: 12px; }
.footer-inner nav a { color: inherit; text-decoration: none; }
.footer-inner nav a:hover { color: white; }

.lightbox { width: min(1100px, calc(100% - 40px)); max-width: none; padding: 0; color: white; background: #111; border: 0; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 14px 20px 18px; color: #d6d0cc; }
.lightbox__close { position: absolute; z-index: 2; right: 12px; top: 12px; display: grid; place-items: center; width: 42px; height: 42px; color: white; background: rgba(0,0,0,.58); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 28px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3) { transition-delay: .16s; }
.service-card:nth-child(4) { transition-delay: .24s; }

/* Coming-soon landing page */
.coming-soon-page { min-height: 100vh; background: var(--paper); }
.coming-soon { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); }
.coming-soon__image { min-height: 100vh; background: linear-gradient(90deg, rgba(179,38,32,.09), transparent 35%), url("projekte/wohnraum-anthrazit.jpg") 42% center / cover no-repeat; }
.coming-soon__content { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 8vw, 120px); overflow: hidden; }
.coming-soon__content::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -160px; top: -150px; border: 80px solid rgba(179,38,32,.035); border-radius: 50%; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; width: max-content; margin: 80px 0 24px; padding: 7px 12px; color: var(--red); background: #f9e9e7; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.status-pill span { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
.coming-soon h1 { max-width: 720px; margin: 0; font-size: clamp(48px, 6vw, 82px); letter-spacing: -.055em; line-height: .98; }
.coming-soon__lead { max-width: 610px; margin: 30px 0 0; color: var(--muted); font-size: 19px; }
.coming-soon__rule { width: 58px; height: 3px; margin: 40px 0 24px; background: var(--red); }
.coming-soon__note { margin: 0; color: #4a4541; }
.coming-soon__note a { display: block; width: max-content; margin-top: 5px; color: var(--red); font-weight: 800; text-decoration: none; }
.coming-soon__note a:hover { text-decoration: underline; }
.coming-soon__footer { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 70px; color: #918984; font-size: 12px; }

/* Legal pages */
.legal-page { background: var(--paper); }
.legal-header { padding: 22px 0; background: white; border-bottom: 1px solid var(--line); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; }
.legal-content { max-width: 800px; padding-top: 80px; padding-bottom: 110px; }
.legal-content h1 { margin: 0 0 42px; font-size: clamp(46px, 7vw, 74px); letter-spacing: -.05em; }
.legal-content h2 { margin: 42px 0 12px; font-size: 22px; }
.legal-content p { color: var(--muted); }
.legal-notice { padding: 22px 24px; background: #fff0ee; border-left: 4px solid var(--red); }
.legal-notice p { margin: 4px 0 0; }
.legal-hint { margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

@media (max-width: 1050px) {
  .main-nav { gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about { min-height: 620px; }
  .about__content { padding: 64px 48px; }
  .contact__grid { grid-template-columns: 1fr 1.15fr; gap: 54px; }
  .coming-soon { grid-template-columns: .75fr 1.25fr; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(calc(100% - 36px), var(--max)); }
  .site-header, .site-header.is-scrolled { height: 72px; }
  .site-header .brand__mark, .site-header.is-scrolled .brand__mark { width: 84px; height: 30px; }
  .site-header .brand__name { font-size: 14px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 72px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 26px 18px; background: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s ease; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav a { padding: 16px 10px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 16px; padding: 14px 18px; text-align: center; border: 0; }
  .hero { min-height: 0; padding: 126px 0 70px; }
  .hero::before { right: 20%; }
  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .hero h1 { font-size: clamp(48px, 12vw, 68px); }
  .hero__visual { height: min(70vw, 580px); min-height: 430px; }
  .section { padding: 84px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .about { grid-template-columns: 1fr; }
  .about__image-wrap { min-height: 460px; }
  .about__content { max-width: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card__media { grid-template-rows: 460px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner p { display: none; }
  .coming-soon { grid-template-columns: 1fr; }
  .coming-soon__image { min-height: 42vh; }
  .coming-soon__content { min-height: 58vh; padding: 50px 38px 30px; }
  .status-pill { margin-top: 60px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 112px 0 54px; }
  .hero__content > p:not(.eyebrow) { font-size: 17px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero__visual { height: 118vw; min-height: 390px; max-height: 540px; }
  .hero__visual::before { left: -12px; top: -12px; }
  .hero__visual figcaption { left: 12px; right: 12px; bottom: 12px; }
  .scroll-hint { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .about__image-wrap { min-height: 370px; }
  .about__content { padding: 56px 24px 68px; }
  .project-grid { gap: 24px; }
  .project-card__media { grid-template-columns: minmax(0, 1fr) 92px; grid-template-rows: 330px; }
  .project-card__meta { padding: 21px 20px 24px; }
  .project-card__meta h3 { font-size: 22px; }
  .contact { padding: 82px 0; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: flex-start; }
  .coming-soon__image { min-height: 34vh; }
  .coming-soon__content { padding: 36px 24px 24px; }
  .coming-soon__content .brand--large { position: absolute; top: -74px; padding: 15px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
  .brand--large .brand__mark { width: 112px; height: 40px; }
  .brand--large .brand__name { font-size: 18px; }
  .status-pill { margin-top: 34px; }
  .coming-soon h1 { font-size: 48px; }
  .coming-soon__lead { font-size: 16px; }
  .coming-soon__footer { flex-direction: column; gap: 2px; padding-top: 46px; }
  .legal-header .text-link { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
