/* Mettlach-Outlet.de – Stylesheet
   Farbwelt: Porzellanweiß, Kobaltblau (Fliesen-/Keramik-Tradition), Saargrün, Terrakotta als Akzent.
   Bewusst ohne externe Schriften (DSGVO: keine Google-Fonts-Einbindung). */

:root {
  --cobalt: #1d3f8f;
  --cobalt-deep: #12275a;
  --cobalt-50: #eaf0fb;
  --saar: #2f7d6b;
  --saar-50: #e6f3ef;
  --terra: #c8643b;
  --terra-600: #a94f2b;
  --terra-50: #fbece5;
  --porcelain: #fbfaf7;
  --sand: #f3efe7;
  --ink: #1d2433;
  --muted: #5d6677;
  --line: #e2e0da;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 39, 90, .08), 0 2px 6px rgba(18, 39, 90, .05);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--porcelain); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--terra-600); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--cobalt-deep); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: .7rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 740px; }
.center .lead { margin-left: auto; margin-right: auto; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 20px rgba(200, 100, 59, .3); }
.btn-primary:hover { background: var(--terra-600); color: #fff; }
.btn-dark { background: var(--cobalt); color: #fff; }
.btn-dark:hover { background: var(--cobalt-deep); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--cobalt-deep); }
.btn-outline:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }

/* Kopf */
.notice { background: var(--cobalt-deep); color: #d5def0; font-size: .84rem; text-align: center; padding: 7px 16px; }
.notice b { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .93); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cobalt-deep); margin-right: auto; }
.brand img { flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand-name span { color: var(--terra); }
.brand-sub { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.nav { display: flex; gap: 1.15rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--terra); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cobalt-deep); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); }
.hero::before { /* Fliesenmuster als Hintergrund, frei gestaltet */
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%231d3f8f' stroke-width='2'%3E%3Crect x='1' y='1' width='58' height='58'/%3E%3Cpath d='M30 6l24 24-24 24L6 30z'/%3E%3Ccircle cx='30' cy='30' r='7'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero h1 span { color: var(--terra); display: block; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.facts li::before { content: "✓ "; color: var(--saar); font-weight: 700; }
.hero-visual { position: relative; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }

/* Abschnitte */
section { padding: 84px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.blue { background: var(--cobalt-deep); color: #e3e9f5; }
section.blue h2, section.blue h3 { color: #fff; }
section.blue .lead, section.blue .muted { color: #b9c6de; }
.head { margin-bottom: 2.4rem; }

/* Karten */
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-top: .2rem; }
.card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2em .7em; border-radius: 999px; background: var(--cobalt-50); color: var(--cobalt); margin-bottom: .6rem; }
.card .tag.green { background: var(--saar-50); color: var(--saar); }
.card .tag.terra { background: var(--terra-50); color: var(--terra-600); }
.card ul { padding-left: 1.2em; margin: 0 0 1em; }
.card > :last-child { margin-bottom: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cobalt-50); color: var(--cobalt); margin-bottom: .8rem; }
.ico svg { width: 26px; height: 26px; }

/* Tagesplan */
.plan { list-style: none; padding: 0; margin: 0; position: relative; }
.plan::before { content: ""; position: absolute; left: 46px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.plan li { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding: .7rem 0; position: relative; }
.plan time { font-weight: 700; color: var(--cobalt); background: var(--porcelain); z-index: 1; text-align: center; border: 2px solid var(--cobalt-50); border-radius: 999px; height: fit-content; padding: .2em 0; }

/* Tabelle */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .96rem; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cobalt-50); color: var(--cobalt-deep); }
tbody tr:last-child td { border-bottom: 0; }

/* Recht (Accordion) */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--cobalt-deep); list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .75rem; font-size: 1.4rem; color: var(--terra); }
.faq details[open] summary::after { content: "–"; }
.faq .body { padding: 0 1.2rem 1.1rem; }
.faq .body > :last-child { margin-bottom: 0; }
.merke { border-left: 4px solid var(--terra); background: var(--terra-50); padding: .7rem 1rem; border-radius: 0 8px 8px 0; margin: .8rem 0 0; font-size: .95rem; }

/* Streichpreis-Check */
.checker { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select { font: inherit; padding: .7rem .9rem; border: 1px solid #cfd3da; border-radius: 10px; background: #fff; }
.result { border-radius: var(--radius); padding: 1.3rem 1.4rem; background: var(--sand); min-height: 100%; }
.result.ok { background: var(--saar-50); }
.result.warn { background: var(--terra-50); }
.result h3 { margin-bottom: .3rem; }

/* Krimi */
.krimi { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.krimi .story p { color: #d6deee; }
.krimi .story b { color: #fff; }
.station { border-left: 3px solid var(--terra); padding-left: 1rem; margin: 1.1rem 0; }
.station h4 { color: #fff; margin: 0 0 .2rem; }
.suspects { display: grid; gap: .7rem; }
.suspect { text-align: left; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 12px; padding: .9rem 1rem; font: inherit; cursor: pointer; }
.suspect:hover { background: rgba(255, 255, 255, .13); }
.suspect b { display: block; }
.suspect span { color: #b9c6de; font-size: .92rem; }
.suspect.right { border-color: #7fd1b3; background: rgba(47, 125, 107, .35); }
.suspect.wrong { border-color: #e79a7a; opacity: .7; }
.solution { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(255, 255, 255, .08); }

/* Shop */
.product { text-align: center; }
.product .mock { background: var(--sand); border-radius: 14px; padding: .5rem; margin-bottom: 1rem; }
.product .mock img { width: 100%; height: auto; display: block; }
.price { font-weight: 700; color: var(--terra-600); }
.soon { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--muted); border: 1px dashed #bbb; border-radius: 999px; padding: .15em .7em; }

/* Kontakt-Box */
.cta-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); }
.cta-box .btns { display: flex; flex-direction: column; gap: .7rem; }

/* Fuß */
.site-footer { background: #0e1d44; color: #aebbd6; padding: 56px 0 30px; font-size: .93rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.2rem; font-size: .84rem; }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 20px; gap: .8rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero .wrap, .checker, .krimi, .cta-box { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; }
  .plan::before { left: 36px; }
  .plan li { grid-template-columns: 72px 1fr; }
  .cta-box { padding: 1.4rem; }
}

/* Marken-Karten */
.brand-card { display: flex; flex-direction: column; }
.brand-card h3 { margin-bottom: .3rem; }
.brand-card .brand-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 20px; gap: .8rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
}

/* ---------- Werbegrafiken (09/2026) ---------- */
.ki-hinweis { position: absolute; right: 10px; bottom: 10px; font-size: .72rem; line-height: 1.3; background: rgba(255,255,255,.88); color: #333; padding: 2px 9px; border-radius: 999px; }
figure.banner { position: relative; margin: 0 0 2.4rem; }
figure.banner img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
#shop figure.banner img { max-height: 560px; }
.badge-preview { position: absolute; left: 14px; top: 14px; z-index: 1; background: var(--terra); color: #fff; font-weight: 700; font-size: .82rem; padding: 5px 13px; border-radius: 999px; }
.promo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; margin-top: 2.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.promo figure { position: relative; margin: 0; height: 100%; }
.promo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-text { padding: 1.6rem 1.8rem 1.8rem 0; }
@media (max-width: 820px) { .promo { grid-template-columns: 1fr; gap: 0; } .promo figure { height: auto; } .promo img { height: auto; aspect-ratio: 3 / 2; } .promo-text { padding: 1.4rem 1.4rem 1.6rem; } }
