/* ================= Unterseiten ================= */
.page-hero {
  position: relative; color: #fff; background: var(--black); overflow: hidden; isolation: isolate;
  min-height: min(66vh, 660px); display: grid; align-items: end;
  padding: clamp(110px, 12vw, 150px) 0 clamp(64px, 8vw, 96px);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; transform: scale(1.06); animation: heroZoom 16s var(--ease) forwards; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.82) 38%, rgba(11,11,12,.3) 70%, rgba(11,11,12,.05) 100%),
    linear-gradient(0deg, rgba(11,11,12,.85) 0%, transparent 45%);
}
.page-hero::after { content: ""; position: absolute; right: -6%; top: -20%; width: 120px; height: 140%; background: var(--red); transform: skewX(-32deg); opacity: .75; z-index: -1; mix-blend-mode: screen; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; margin: 16px 0 18px; max-width: 16ch; }
.page-hero p { color: #d6d6db; max-width: 62ch; font-size: clamp(1rem, 1.3vw, 1.12rem); margin: 0 0 12px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Merkmal-Liste */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 32px 30px; box-shadow: 0 14px 40px -28px rgba(0,0,0,.45); transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: #fdeced; transition: transform .5s var(--ease); z-index: 0; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(0,0,0,.5); }
.feature:hover::after { transform: scale(1.6); }
.feature > * { position: relative; z-index: 1; }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--black); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); }
.dark .feature { background: var(--ink-2); box-shadow: none; border: 1px solid var(--line-dark); }
.dark .feature::after { background: rgba(237,28,36,.12); }
.dark .feature p { color: var(--muted-dark); }
.dark .feature .ico { background: var(--red); }

/* Abwechselnde Bild-Text-Reihen */
.rows { display: grid; gap: clamp(70px, 9vw, 120px); }
.row-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.row-media.flip .media { order: 2; }
.row-media .media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.row-media .media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1s var(--ease); }
.row-media .media:hover img { transform: scale(1.06); }
/* Liefergebiet: ganze Karte zeigen, nicht zuschneiden; dunkel eingefärbt wie die Seite */
.row-media .media.map { padding: 10px; background: #111113; border: 1px solid rgba(255,255,255,.08); max-width: 520px; justify-self: center; }
.row-media .media.map img { aspect-ratio: auto; height: auto; border-radius: calc(var(--radius) - 8px); filter: invert(.88) hue-rotate(180deg) saturate(.72) contrast(.94); }
.row-media .media.map:hover img { transform: none; }
.row-media .media .num { position: absolute; left: 22px; top: 18px; font-size: 4.5rem; font-weight: 800; line-height: 1; color: #fff; text-shadow: 0 6px 24px rgba(0,0,0,.45); }
.row-media h2 { margin: 14px 0 18px; }
.row-media p { color: var(--muted); margin: 0 0 14px; }
.row-media .btn { margin-top: 14px; }
.check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check li { display: flex; gap: 14px; align-items: flex-start; }
.check li::before {
  content: ""; flex: 0 0 26px; height: 26px; margin-top: 1px; border-radius: 8px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Shop-Kacheln Sortiment */
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.shop {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius);
  background: #fff; text-decoration: none; box-shadow: 0 14px 40px -28px rgba(0,0,0,.45); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s;
}
.shop::before { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; background: var(--red); transform: skewX(-32deg) translateX(160px); transition: transform .5s var(--ease); }
.shop:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.5); background: var(--black); color: #fff; }
.shop:hover::before { transform: skewX(-32deg) translateX(0); }
.shop > * { position: relative; }
.shop .ico { width: 58px; height: 58px; border-radius: 18px; background: #fdeced; color: var(--red); display: grid; place-items: center; transition: background .35s, color .35s; }
.shop:hover .ico { background: var(--red); color: #fff; }
.shop .ico svg { width: 28px; height: 28px; }
.shop h3 { font-size: 1.35rem; font-weight: 800; }
.shop p { margin: 0; color: var(--muted); transition: color .35s; }
.shop:hover p { color: var(--muted-dark); }
.shop .go { margin-top: auto; padding-top: 10px; font-weight: 700; display: inline-flex; gap: 10px; align-items: center; color: var(--red); }
.shop:hover .go { color: #fff; }
.shop .go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.shop:hover .go svg { transform: translate(3px, -3px); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-card { background: var(--black); color: #fff; border-radius: var(--radius); padding: 38px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -36px; top: -40px; width: 64px; height: 130px; background: var(--red); transform: skewX(-32deg); opacity: .9; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 22px; max-width: 75%; }
.contact-card a, .contact-card .line { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact-card a:last-of-type { border-bottom: 0; }
.contact-card .ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s; }
.contact-card a:hover .ico { background: var(--red); }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card small { display: block; color: var(--muted-dark); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
form.wild { background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 42px); box-shadow: 0 20px 50px -30px rgba(0,0,0,.45); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.wild .full { grid-column: 1 / -1; }
form.wild label { display: grid; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--muted); }
form.wild input, form.wild textarea {
  width: 100%; padding: 15px 16px; border: 1.5px solid #e2e2e2; border-radius: 12px; background: #fafafa;
  font: 500 1rem "Montserrat", sans-serif; color: var(--text); outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
form.wild textarea { min-height: 150px; resize: vertical; }
form.wild input:focus, form.wild textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(237,28,36,.1); }
form.wild .req::after { content: " *"; color: var(--red); }
form.wild button { justify-self: start; cursor: pointer; }
form.wild .ok { display: none; grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: #eaf8ef; color: #17643a; font-weight: 600; }
form.wild.sent .ok { display: block; }

/* Rechtstexte */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; }
.toc a { text-decoration: none; padding: 9px 14px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--muted); border-left: 3px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.toc a:hover { background: #fff; color: var(--text); border-left-color: var(--red); }
.legal { background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); box-shadow: 0 14px 40px -30px rgba(0,0,0,.45); }
.legal h2 { font-size: 1.3rem; margin: 40px 0 16px; padding-top: 6px; display: flex; gap: 14px; align-items: baseline; scroll-margin-top: 110px; }
.legal h2:first-child { margin-top: 0; }
.legal h2 .n { color: var(--red); font-size: 1rem; }
.legal p { margin: 0 0 12px; color: #33333a; }
.legal p .n { font-weight: 700; color: var(--text); margin-right: 6px; }
.legal .meta { padding: 14px 18px; border-radius: 12px; background: var(--paper); font-size: .9rem; color: var(--muted); margin-bottom: 30px; }
.legal dl { display: grid; grid-template-columns: 240px 1fr; gap: 12px 24px; margin: 0 0 10px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: #33333a; }

/* Leerer Zustand (Offene Stellen) */
.empty { background: #fff; border-radius: var(--radius); padding: clamp(40px, 6vw, 70px); text-align: center; box-shadow: 0 14px 40px -28px rgba(0,0,0,.45); }
.empty .big { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 24px; display: grid; place-items: center; background: var(--black); color: #fff; }
.empty .big svg { width: 38px; height: 38px; }
.empty h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.empty p { color: var(--muted); max-width: 52ch; margin: 14px auto 26px; }

@media (max-width: 1080px) {
  .features { grid-template-columns: 1fr 1fr; }
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .row-media, .contact-grid { grid-template-columns: 1fr; }
  .row-media.flip .media { order: 0; }
  form.wild { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 12px; }
  .page-hero::after { width: 60px; right: -2%; }
  .page-hero { min-height: 520px; }
  .page-hero::before { background: linear-gradient(180deg, rgba(11,11,12,.3) 0%, rgba(11,11,12,.7) 40%, rgba(11,11,12,.94) 75%); }
}
form.wild .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.wild { position: relative; }
form.wild button:disabled { opacity: .6; cursor: wait; }

.rows > [id] { scroll-margin-top: 110px; }

