/* ==========================================================
   MF Fliesen & Mosaik Handel – Website
   Hell und ruhig, Logo-Rot als Akzent, Rauten-Mosaik als Dekor
   ========================================================== */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --red:        #C8232C;
    --red-dark:   #A11A22;
    --red-soft:   #FBEDEE;
    --red-line:   #F2C6C9;
    --slate:      #39435E;
    --ink:        #17181C;
    --text:       #34363D;
    --muted:      #6C6F78;
    --line:       #E7E5E2;
    --bg:         #FFFFFF;
    --bg-alt:     #F7F5F2;
    --radius:     14px;
    --radius-sm:  8px;
    --shadow:     0 1px 2px rgba(23,24,28,.04), 0 12px 32px rgba(23,24,28,.06);
    --shadow-lg:  0 2px 4px rgba(23,24,28,.04), 0 24px 60px rgba(23,24,28,.11);
    --font:       'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --container:  1200px;
    --header-h:   86px;
    --ease:       cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7;
    color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.ic { width: 1.2em; height: 1.2em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.narrow-text { max-width: 820px; font-size: 1.06rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: 13px 24px; min-height: 48px;
    background: var(--red); color: #fff; border: 1.5px solid var(--red); border-radius: 999px;
    font: 600 .92rem/1.2 var(--font); letter-spacing: .01em; cursor: pointer; text-align: center; white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,35,44,.22); }
.btn .ic { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--ink); border-color: #D2CFCA; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--red-soft); border-color: var(--red-soft); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; box-shadow: none; }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; min-height: 54px; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .9rem; color: var(--red); margin-top: auto; }
.more .ic { transition: transform .2s var(--ease); }

.badge { display: inline-block; vertical-align: middle; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge-progress { background: var(--red-soft); color: var(--red-dark); border: 1px solid var(--red-line); }

/* ---------- Kopfleiste ---------- */
.topbar { background: var(--ink); color: #C9C7C3; font-size: .8rem; }
.topbar .container { max-width: 1340px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { width: 15px; height: 15px; color: #E9767C; }
.topbar-links { gap: 24px !important; }
.topbar a { color: #E8E6E2; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95);
    -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23,24,28,.06); }
.site-header.scrolled::after { transform: scaleX(1); }
.site-header .container { max-width: 1340px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; padding-left: 14px; border-left: 1px solid var(--line); }
.brand-text strong { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.brand-text small { font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu-row { display: flex; align-items: center; }
.menu-link { display: block; white-space: nowrap; padding: 10px 11px; color: var(--ink); font-weight: 500; font-size: .92rem; border-radius: 8px; position: relative; }
.menu-link:hover { color: var(--red); }
.menu-link.is-active { color: var(--red); }
.menu-link.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.has-sub .menu-link { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 10px 8px 10px 2px; cursor: pointer; color: var(--muted); display: flex; border-radius: 6px; }
.sub-toggle .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-sub.open .sub-toggle .ic { transform: rotate(180deg); }

.submenu {
    position: absolute; top: calc(100% + 10px); left: 50%; width: 400px;
    list-style: none; margin: 0; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.submenu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: flex; gap: 14px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.submenu a:hover, .submenu a.is-active { background: var(--bg-alt); color: var(--ink); }
.submenu strong { display: block; font-size: .92rem; font-weight: 600; }
.submenu small { display: block; font-size: .79rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.sub-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.sub-ic .ic { width: 19px; height: 19px; }
.sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sub-all a { font-size: .85rem; font-weight: 600; color: var(--red); align-items: center; gap: 6px; }
.sub-all a:hover { color: var(--red-dark); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-mobile-info { display: none; }
.lang-switch { display: flex; gap: 2px; font-size: .78rem; font-weight: 600; }
.lang-switch a { padding: 6px 8px; color: var(--muted); border-radius: 6px; }
.lang-switch a.is-active { color: var(--ink); background: var(--bg-alt); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mosaik-Dekor ---------- */
.deco { position: absolute; top: 0; right: 0; height: 100%; width: 60%; color: var(--red); pointer-events: none; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 0; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.deco-hero { opacity: .16; width: 70%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.hero .lead { font-size: clamp(1.02rem, 1.3vw, 1.13rem); color: var(--muted); max-width: 560px; }
.hero-visual { position: relative; }
.hero-media { margin: 0; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.hero-badge {
    position: absolute; left: -22px; bottom: 28px; display: flex; align-items: center; gap: 12px;
    background: #fff; padding: 12px 20px 12px 12px; border-radius: 999px; box-shadow: var(--shadow-lg);
    font-weight: 700; color: var(--ink); font-size: .95rem;
}
.hero-badge-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.hero-badge-ic .ic { width: 20px; height: 20px; }

.tagline {
    position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 28px;
    margin: clamp(48px, 6vw, 80px) 0 0; padding: 26px 0;
    border-top: 1px solid var(--line);
    font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); font-size: .82rem;
}
.tagline .sep { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

/* ---------- Medien ---------- */
.media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.media picture { display: block; width: 100%; height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-illustration { border: 1px solid var(--line); }
.media-square { aspect-ratio: 1 / 1 !important; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 108px) 0; }
.section-tight { padding: clamp(36px, 5vw, 60px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; }
.section-head h2::before { content: ''; display: block; width: 14px; height: 14px; background: var(--red); transform: rotate(45deg); margin: 0 0 22px 3px; }
.section-head.center h2::before { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 700px; }

/* Vorteile */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp { display: flex; gap: 16px; align-items: flex-start; }
.usp .feature-ic { margin: 0; flex-shrink: 0; }
.usp h3 { font-size: 1rem; margin-bottom: .3em; }
.usp p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* Sortimentskacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.section-alt .tile { border-color: transparent; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.tile:hover .more .ic { transform: translateX(4px); }
.tile-media { border-radius: 0; aspect-ratio: 16 / 10; border: 0 !important; }
.tile-media img { transition: transform .6s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.tile-body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.tile-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin: -50px 0 16px; position: relative; border: 4px solid #fff; box-sizing: content-box; }
.tile-ic .ic { width: 22px; height: 22px; }

/* CTA-Band */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #CAC8C4; padding: clamp(64px, 8vw, 100px) 0; }
.deco-cta { opacity: .45; width: 55%; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.page-hero .deco-hero { opacity: .12; width: 55%; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-inner.no-media { grid-template-columns: 1fr; }
.no-media .page-hero-text { max-width: 860px; }
.page-hero h1 { margin-top: .2em; }
.page-hero .lead { font-size: clamp(1.02rem, 1.3vw, 1.13rem); color: var(--muted); max-width: 640px; }
.page-hero-media { aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.page-hero-slim { padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero .badge { margin-bottom: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs a:last-child { color: var(--ink); font-weight: 500; }

/* Hinweisboxen */
.note { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); font-size: .96rem; }
.note > .ic { color: var(--red); width: 24px; height: 24px; margin-top: 2px; }

.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.entry-ic { width: 60px; height: 60px; border-radius: 16px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.entry-ic .ic { width: 28px; height: 28px; }
.chips { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; background: #fff; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line); }

/* Feature-Raster */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.section-alt .feature { border-color: transparent; }
.feature p { color: var(--muted); font-size: .94rem; }
.feature-sm h3 { font-size: 1rem; }
.feature-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.feature-ic .ic { width: 22px; height: 22px; }

/* Bild-Text-Abschnitte */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-row-rev .media-row-img { order: 2; }
.media-row-img { aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.media-row-text > p { color: var(--muted); font-size: 1.03rem; }

/* Sortiment */
.jump { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.jump a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: .88rem; line-height: 1.3; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.jump .ic { width: 28px; height: 28px; color: var(--red); }
.jump a:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.range-list { display: grid; gap: clamp(56px, 7vw, 96px); }
.range-item { scroll-margin-top: calc(var(--header-h) + 24px); }
.range-item .feature-ic { margin-bottom: 18px; }
.range-list > .note { margin-top: 0; }

.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brands a, .brand-plain { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 86px; padding: 16px 44px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-weight: 600; line-height: 1.3; transition: border-color .2s, box-shadow .2s; }
.brands small { color: var(--muted); font-weight: 400; font-size: .78rem; margin-top: 4px; word-break: break-all; }
.brands .ic { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.brands a:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--ink); }
.brands a:hover .ic { color: var(--red); }

/* Musterfliesen */
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.sample { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.section-alt .sample { border-color: transparent; }
.sample:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sample-img { display: block; aspect-ratio: 1 / 1; background: var(--bg-alt); overflow: hidden; }
.sample-img picture, .sample-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sample-img img { transition: transform .6s var(--ease); }
.sample:hover .sample-img img { transform: scale(1.05); }
.sample-img.is-empty { display: grid; place-items: center; color: #CFCBC5; }
.sample-img.is-empty .ic { width: 48px; height: 48px; }
.sample-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.sample h3 { font-size: 1rem; margin-bottom: 2px; }
.sample-format { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.sample-note { font-size: .85rem; margin-bottom: 10px; }
.samples-strip { grid-template-columns: repeat(4, 1fr); }

/* Ausstellung */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.video { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.video-wide { grid-column: 1 / -1; max-width: 960px; aspect-ratio: 4 / 3; }
.video-tall { aspect-ratio: 9 / 16; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 3 / 4; }

/* Öffnungszeiten & Anfahrt */
.visit { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: stretch; }
.visit-col > p { color: var(--muted); }
.visit-col .btn-row { margin-top: 24px; }
.visit-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 26px; }
.section-alt .visit-card { border-color: transparent; border-top-color: var(--red); }
.visit-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; }
.visit-card h3 .ic { color: var(--red); }
.visit-address { display: grid; gap: 14px; }
.visit-address .more { margin-top: 0; }
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }

/* Aktuelles */
.news-list { display: grid; gap: 16px; max-width: 900px; }
.news { display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.news .feature-ic { margin: 0; flex-shrink: 0; }
.news h2 { font-size: 1.2rem; margin-bottom: .35em; }
.news p { color: var(--muted); }
.flyers { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); gap: 28px; }
.flyer { display: block; border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s; }
.flyer:hover { transform: translateY(-3px); }
.flyer-media { box-shadow: var(--shadow-lg); background: #fff; }
.flyer-media img { object-fit: contain; }

/* Webshop */
.shop-box { display: flex; gap: 28px; align-items: flex-start; background: var(--bg-alt); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); max-width: 920px; }
.shop-box p { color: var(--muted); }
.shop-url { font-size: .82rem; margin: 10px 0 22px; }

/* ---------- Formulare ---------- */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field[hidden] { display: none; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
    width: 100%; padding: 13px 15px; min-height: 50px;
    border: 1.5px solid #DAD7D2; border-radius: 10px;
    font: 400 1rem var(--font); color: var(--ink); background: #fff;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8232C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; cursor: pointer;
}
.form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form input::placeholder, .form textarea::placeholder { color: #A7A49F; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.project-fields { border: 1.5px dashed var(--red-line); border-radius: 12px; padding: 18px 20px 20px; margin: 0; background: #FFFBFA; }
.project-fields[hidden] { display: none; }
.project-fields legend { padding: 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px dashed #CFCBC5; border-radius: 12px; cursor: pointer; background: var(--bg-alt); transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.drag { border-color: var(--red); background: var(--red-soft); }
.file-drop .ic { width: 22px; height: 22px; color: var(--red); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-text { font-size: .88rem; color: var(--muted); }
.file-drop.has-files .file-text { color: var(--ink); font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex-shrink: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form-foot small { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 18px; border-radius: 10px; font-size: .92rem; margin-bottom: 24px; }
.alert ul { margin: 8px 0 0; padding-left: 18px; }
.alert-error { background: #FFF1F1; color: #9B1C1C; border: 1px solid #F8C9C9; }
.form-success { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: 12px; background: #EFFAF3; border: 1px solid #BFE8CE; color: #14532D; }
.form-success > .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #16A34A; color: #fff; }
.form-success strong { display: block; font-size: 1.1rem; margin-bottom: 6px; color: #14532D; }

.contact-side h2 { font-size: 1.35rem; }
.contact-side > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li > span { flex: 1; }
.contact-list .ic { color: var(--red); margin-top: 3px; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list a:hover, .contact-list a.more { color: var(--red); }
.addr { display: grid; gap: 8px; justify-items: start; }
.addr .more { margin-top: 0; }
.side-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 26px; }
.side-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; }
.side-box h3 .ic { color: var(--red); }

.legal { white-space: normal; }
.legal p:first-child { font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #111215; color: #A6A4A0; font-size: .92rem; padding-top: clamp(56px, 7vw, 84px); }
.deco-footer { opacity: .18; width: 45%; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .9fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-logo-wrap { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 20px; }
.footer-logo { height: 52px; width: auto; }
.footer-name { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.footer-desc { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #E9767C; font-weight: 600; margin-bottom: 16px; }
.footer-text { max-width: 320px; line-height: 1.65; }
.site-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #CBC9C5; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .addr { gap: 6px; }
.footer-contact .ic { color: #E9767C; margin-top: 3px; }
.footer-contact .more { color: #E9767C; font-size: .85rem; }
.footer-contact strong { color: #fff; font-weight: 600; }
.hours-footer { flex: 1; gap: 4px; }
.hours-footer div { border-bottom: 0; padding-bottom: 0; }
.hours-footer dt { color: #A6A4A0; }
.hours-footer dd { color: #fff; font-weight: 500; }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid #27282C; font-size: .82rem; color: #807E7A; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: #CBC9C5; cursor: pointer; }
.linkish:hover { color: #fff; }

/* Dialog */
.dialog { border: 0; border-radius: var(--radius); padding: 32px; max-width: 520px; width: calc(100% - 32px); box-shadow: var(--shadow-lg); color: var(--text); }
.dialog::backdrop { background: rgba(17,18,21,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog h2 { font-size: 1.3rem; }
.dialog a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dialog form { margin-top: 20px; }

.mobile-cta { display: none; }

/* Einblend-Animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1320px) {
    .brand-text small { display: none; }
}
@media (max-width: 1240px) {
    .brand-text { display: none; }
    .menu-link { padding: 10px 9px; }
    .main-nav { gap: 14px; }
}

@media (max-width: 1080px) {
    .tiles, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .jump { grid-template-columns: repeat(3, 1fr); }
    .brands { grid-template-columns: repeat(3, 1fr); }
    .samples-strip { grid-template-columns: repeat(3, 1fr); }
    .samples-strip .sample:nth-child(n+7) { display: none; }
    .visit { grid-template-columns: 1fr 1fr; }
    .visit-col { grid-column: 1 / -1; }
    .videos { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile Navigation ---------- */
@media (max-width: 960px) {
    :root { --header-h: 70px; }
    .topbar { display: none; }
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .brand-logo { height: 46px; }
    .brand-text { display: none; }
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0;
        background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
        padding: 8px 0 calc(20px + env(safe-area-inset-bottom));
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    body.nav-open { overflow: hidden; }

    .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .menu > li { border-bottom: 1px solid var(--line); }
    .menu-link { padding: 16px 24px; font-size: 1.12rem; font-weight: 600; border-radius: 0; flex: 1; }
    .menu-link.is-active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
    .menu-row { align-items: stretch; }
    .sub-toggle { padding: 0 24px; border-left: 1px solid var(--line); border-radius: 0; color: var(--ink); align-items: center; }
    .sub-toggle .ic { width: 22px; height: 22px; }

    .submenu {
        position: static; width: auto; transform: none; box-shadow: none; border: 0; border-radius: 0;
        padding: 0 12px; background: var(--bg-alt);
        opacity: 1; visibility: visible; display: none;
    }
    .submenu::before { display: none; }
    .has-sub:hover .submenu, .has-sub:focus-within .submenu { transform: none; }
    .has-sub.open .submenu { display: block; padding: 8px 12px 12px; transform: none; }
    .submenu a { padding: 12px; }
    .submenu a:hover, .submenu a.is-active { background: #fff; }

    .nav-actions { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px; }
    .nav-actions .btn { min-height: 54px; font-size: 1rem; }
    .nav-mobile-info { display: grid; gap: 16px; }
    .nav-mobile-info .hours { font-size: .92rem; background: var(--bg-alt); padding: 16px 18px; border-radius: 12px; }
    .lang-switch { justify-content: center; font-size: .9rem; }
    .lang-switch a { padding: 8px 14px; }

    .hero-grid, .page-hero-inner, .cta-inner, .split, .form-layout, .media-row { grid-template-columns: 1fr; }
    .media-row-rev .media-row-img { order: 0; }
    .hero-media { aspect-ratio: 16 / 11; }
    .hero-badge { left: 16px; bottom: 16px; }
    .page-hero-media { aspect-ratio: 16 / 9; }
    .cta-actions { justify-content: flex-start; }
    .contact-side { order: 2; }
    .media-square { max-width: 520px; }

    /* Sticky-Aktionsleiste */
    .mobile-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(0,0,0,.07);
        padding-bottom: env(safe-area-inset-bottom);
        transform: translateY(110%); transition: transform .35s var(--ease);
    }
    .mobile-cta.show { transform: none; }
    body.nav-open .mobile-cta { transform: translateY(110%); }
    .mobile-cta a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 8px 6px; color: var(--ink); font-size: .72rem; font-weight: 600; }
    .mobile-cta a + a { border-left: 1px solid var(--line); }
    .mobile-cta .ic { width: 22px; height: 22px; color: var(--red); }
    .mobile-cta a.primary { flex: 1.4; background: var(--red); color: #fff; }
    .mobile-cta a.primary .ic { color: #fff; }
    .site-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .hero { padding-top: 36px; }
    .hero h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); }
    .btn-row .btn { flex: 1 1 100%; }
    .btn { white-space: normal; }
    .deco-hero { width: 140%; opacity: .1; }
    .tagline { letter-spacing: .16em; font-size: .68rem; gap: 6px 14px; margin-top: 40px; }

    /* Kacheln seitlich wischbar */
    .tiles {
        display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 -20px; padding: 4px 20px 20px; scrollbar-width: none;
    }
    .tiles::-webkit-scrollbar { display: none; }
    .tile { flex: 0 0 84%; scroll-snap-align: center; }
    .tile:hover { transform: none; }

    .usp-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-grid, .feature-grid-2, .grid-2, .visit { grid-template-columns: 1fr; }
    .jump { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .jump a { padding: 16px 10px; }
    .brands { grid-template-columns: 1fr 1fr; }
    .brands a, .brand-plain { min-height: 72px; padding: 12px 36px 12px 14px; font-size: .9rem; }
    .samples, .samples-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .samples-strip .sample:nth-child(n+5) { display: none; }
    .sample-body { padding: 12px 14px 14px; }
    .videos { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .flyers { grid-template-columns: 1fr; }
    .news { padding: 20px; gap: 14px; }
    .shop-box { flex-direction: column; gap: 16px; }
    .section-head-row .btn { width: 100%; }

    .page-cta .btn { width: 100%; }
    .form-card { padding: 22px 18px; border-radius: 12px; }
    .form-foot .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cta-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
    .brands { grid-template-columns: 1fr; }
}
