/* Entwurf D · Kompakt: one-page site on the Entwurf C design (Secession). Ink, Wagner green, gold, Jost. */
:root {
  --ink: #111716;
  --ink-2: #1a2221;
  --paper: #f3f0e8;
  --white: #fbfaf6;
  --green: #1e5a4c;
  --green-dk: #163f36;
  --gold: #c9a24a;
  --gold-dk: #9c7a2c;
  --muted: #646a67;
  --line: #d8d2c4;
  --line-dk: rgba(201, 162, 74, .3);
  --sans: "Jost Variable", "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.todo { background: #fff0b0; color: var(--ink); padding: 0 4px; font-style: normal; }

h1, h2, h3 { font-weight: 300; line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 strong, h1 strong { font-weight: 500; color: var(--gold); }
p { margin: 0 0 1em; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 22px; }
.label::before { content: ""; width: 10px; height: 10px; background: var(--gold); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; background: var(--gold); color: var(--ink); border: 1px solid var(--gold); text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: .25s; }
.btn:hover { background: #ddb85d; border-color: #ddb85d; }
.btn-out { background: transparent; color: inherit; border-color: currentColor; }
.btn-out:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn .i { width: 18px; height: 18px; }

/* checker strip (Wiener Werkstätte) */
.checker { height: 14px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--white) 0 50%) 0 0 / 28px 28px; }
.checker.gold { background: repeating-conic-gradient(var(--gold) 0 25%, var(--ink) 0 50%) 0 0 / 28px 28px; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(17, 23, 22, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid var(--line-dk); }
.header-in { display: flex; align-items: center; gap: 32px; min-height: 86px; }
.logo { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-right: auto; color: #fff; }
.logo-mark { display: grid; grid-template-columns: 1fr 1fr; width: 46px; height: 46px; border: 1px solid var(--gold); }
.logo-mark span { display: grid; place-items: center; font-size: .82rem; font-weight: 500; color: var(--gold); line-height: 1; }
.logo-mark span:nth-child(1), .logo-mark span:nth-child(4) { background: var(--gold); color: var(--ink); }
.logo-name { display: block; font-size: 1.05rem; font-weight: 500; letter-spacing: .34em; }
.logo-sub { display: block; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .8rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; padding: 10px 12px; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }
.nav .btn { opacity: 1; margin-left: 12px; padding: 13px 20px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--gold); color: var(--gold); padding: 10px 14px; font: 500 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink); padding: 8px 16px 20px; border-bottom: 1px solid var(--line-dk); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line-dk); }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
}

/* hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201, 162, 74, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 162, 74, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; padding-top: 72px; }
.hero-text { padding-bottom: 88px; }
.hero .label { color: var(--gold); }
.hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.6rem); line-height: 1; margin-bottom: 30px; }
.hero h1 strong { display: block; }
.lead { font-size: 1.15rem; font-weight: 300; color: rgba(255, 255, 255, .78); max-width: 30em; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { color: var(--gold); align-self: end; }
.facade { width: 100%; height: auto; display: block; overflow: visible; }
.facade .ln { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--d, 0s) cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .facade .ln { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .hero-text { padding-bottom: 40px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* action tiles */
.tiles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dk); }
.tile { display: flex; flex-direction: column; gap: 14px; min-height: 230px; padding: 32px 28px; text-decoration: none; color: #fff; border-right: 1px solid var(--line-dk); position: relative; transition: background .35s; }
.tile:last-child { border-right: 0; }
.tile-num { font-size: .78rem; letter-spacing: .3em; color: var(--gold); }
.tile b { font-size: 1.55rem; font-weight: 400; line-height: 1.15; margin-top: auto; }
.tile small { font-size: .9rem; font-weight: 300; color: rgba(255, 255, 255, .62); line-height: 1.45; }
.tile .i { position: absolute; top: 30px; right: 26px; color: var(--gold); transition: transform .3s; }
.tile:hover { background: var(--green); }
.tile:hover .i { transform: translate(4px, -4px); }
.tile.hot { background: var(--gold); color: var(--ink); }
.tile.hot small { color: rgba(17, 23, 22, .7); }
.tile.hot .tile-num, .tile.hot .i { color: var(--ink); }
.tile.hot:hover { background: #ddb85d; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } .tile:nth-child(2) { border-right: 0; } .tile:nth-child(n+3) { border-top: 1px solid var(--line-dk); } .tile { min-height: 190px; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { border-right: 0; min-height: 0; padding: 26px 20px; } .tile + .tile { border-top: 1px solid var(--line-dk); } .tile b { margin-top: 18px; } }

/* sections */
.section { padding: 120px 0; }
@media (max-width: 860px) { .section { padding: 80px 0; } }

/* emergency */
.sos { background: var(--green); color: #fff; }
.sos-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; padding-block: 72px; }
.sos .label { color: var(--gold); margin-bottom: 14px; }
.sos h2 { margin-bottom: 14px; }
.sos p { color: rgba(255, 255, 255, .78); margin: 0; font-weight: 300; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, .2); }
.nums div { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .2); }
.nums div:last-child { border-right: 0; }
.nums b { display: block; font-size: 3.2rem; font-weight: 200; line-height: 1; color: var(--gold); }
.nums span { display: block; margin-top: 8px; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
@media (max-width: 1000px) { .sos-in { grid-template-columns: 1fr; gap: 30px; padding-block: 56px; } }
@media (max-width: 560px) { .nums { grid-template-columns: 1fr 1fr; } .nums div:nth-child(2) { border-right: 0; } .nums div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); } .nums b { font-size: 2.6rem; } }

/* contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.contact > div { padding: 34px 34px 0 0; }
.contact > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.contact h3 { font-size: .76rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.contact p { margin: 0; font-size: 1.05rem; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact a:hover { color: var(--green); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact > div, .contact > div + div { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .64); font-size: .93rem; margin-top: 120px; }
.footer-in { padding-block: 72px 34px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer .logo { margin-bottom: 22px; }
.footer h4 { font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; }
.f-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-dk); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; letter-spacing: .08em; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr; gap: 30px; } .footer { margin-top: 80px; } }

/* cookie banner: full-width bar */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--ink); color: #fff; border-top: 3px solid var(--gold); padding: 26px 0; font-size: .9rem; line-height: 1.6; transform: translateY(100%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cc.cc-show { transform: none; }
.cc-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr auto; gap: 8px 48px; align-items: center; }
.cc-title { grid-column: 1; margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: .04em; display: flex; align-items: center; gap: 12px; }
.cc-title::before { content: ""; width: 10px; height: 10px; background: var(--gold); }
.cc-text { grid-column: 1; margin: 0; color: rgba(255, 255, 255, .72); font-weight: 300; max-width: 62em; }
.cc-text a { color: var(--gold); }
.cc-prefs { grid-column: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 0 4px; }
.cc-opt { font-size: .86rem; color: rgba(255, 255, 255, .7); font-weight: 300; }
.cc-opt b { color: #fff; font-weight: 500; }
.cc-opt input { accent-color: var(--gold); }
.cc-actions { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; align-items: stretch; min-width: 230px; }
.cc-btn { padding: 15px 20px; background: transparent; color: #fff; border: 1px solid var(--gold); font: 500 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: .25s; }
.cc-btn:hover { background: var(--gold); color: var(--ink); }
.cc-link { color: rgba(255, 255, 255, .7); font-size: .82rem; letter-spacing: .06em; }
@media (max-width: 860px) {
  .cc { padding: 22px 0 18px; }
  .cc-inner { grid-template-columns: 1fr; padding: 0 16px; }
  .cc-actions { grid-column: 1; grid-row: auto; flex-direction: row; min-width: 0; margin-top: 10px; }
  .cc-btn { flex: 1 1 140px; }
  .cc-prefs { grid-template-columns: 1fr; }
}

/* ===== D additions ===== */
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--green); border-color: var(--green); color: #fff; }
.footer { margin-top: 0; }

/* damage: three steps */
.s-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.s-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.s-head h2 strong { color: var(--green); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 36px 34px 40px 0; border-bottom: 1px solid var(--line); }
.steps li + li { padding-left: 34px; border-left: 1px solid var(--line); }
.s-num { display: block; font-size: 4.2rem; font-weight: 200; line-height: 1; color: var(--green); margin-bottom: 18px; }
.steps b { display: block; font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; }
.steps .t { color: var(--muted); font-size: .96rem; }
.s-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; margin-top: 44px; }
.s-cta p { margin: 0; color: var(--muted); max-width: 36em; }
.s-cta p a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); white-space: nowrap; }
@media (max-width: 900px) {
  .s-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 26px; border-left: 0; display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; }
  .s-num { font-size: 3rem; margin: 0; grid-row: span 2; }
}

/* office and phone hours */
#zeiten { padding-top: 0; }
.z-head { margin-bottom: 40px; }
.z-head h2 strong { color: var(--green); }
.hours { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); position: relative; background: var(--white); }
.hours::before, .hours::after { content: ""; position: absolute; width: 18px; height: 18px; z-index: 1; }
.hours::before { top: -1px; left: -1px; background: var(--gold); }
.hours::after { bottom: -1px; right: -1px; background: var(--ink); }
.h-card { padding: 48px 48px 44px; }
.h-card + .h-card { border-left: 1px solid var(--ink); }
.h-card h3 { font-size: 2rem; font-weight: 300; margin: 0 0 6px; }
.h-sub { color: var(--muted); margin: 0 0 26px; font-size: .96rem; }
.h-sub a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold); }
.h-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.h-table th { text-align: left; font-weight: 400; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.h-table td { text-align: right; padding: 14px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.h-table tr.today th, .h-table tr.today td { font-weight: 500; }
.h-table tr.today th::after { content: "Heute"; margin-left: 10px; padding: 3px 8px; font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; background: var(--gold); color: var(--ink); vertical-align: 2px; }
.h-note { display: flex; gap: 12px; margin: 24px 0 0; padding: 16px 18px; background: var(--paper); font-size: .94rem; line-height: 1.5; }
.h-note::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; background: var(--green); }
.h-card.green { background: var(--green); color: #fff; }
.h-card.green .h-sub { color: rgba(255, 255, 255, .74); }
.h-card.green .h-sub a { color: #fff; }
.h-card.green .h-table th, .h-card.green .h-table td { border-top-color: rgba(255, 255, 255, .22); }
.h-card.green .h-note { background: rgba(0, 0, 0, .2); }
.h-card.green .h-note::before { background: var(--gold); }
@media (max-width: 860px) {
  .hours { grid-template-columns: 1fr; }
  .h-card { padding: 34px 20px 30px; }
  .h-card + .h-card { border-left: 0; border-top: 1px solid var(--ink); }
  .h-card h3 { font-size: 1.6rem; }
  .h-table th { white-space: normal; }
}

/* contact (D: section spacing) */
#kontakt .contact { margin-top: 10px; }

/* imprint on the same page */
#impressum { padding-top: 0; }
.imp { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; border-top: 1px solid var(--ink); padding-top: 40px; }
.imp h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.imp-side p { color: var(--muted); font-size: .95rem; }
.imp-side a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.imp dl { display: grid; grid-template-columns: minmax(170px, auto) 1fr; margin: 0; }
.imp dt, .imp dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.imp dt { color: var(--muted); padding-right: 24px; }
.imp dd a { text-decoration: none; border-bottom: 1px solid var(--gold); }
@media (max-width: 860px) {
  .imp { grid-template-columns: 1fr; gap: 10px; }
  .imp dl { grid-template-columns: 1fr; }
  .imp dt { border-bottom: 0; padding: 14px 0 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
  .imp dd { padding-top: 2px; }
}

/* phones: fixed action bar */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 3px solid var(--gold); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 8px; font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
  .mbar a:first-child { background: var(--gold); color: var(--ink); }
  .mbar a:last-child { background: var(--ink); color: #fff; }
  .mbar .i { width: 18px; height: 18px; }
  body { padding-bottom: 54px; }
}
