/* =========================================================================
   Strasser Media Group – Stylesheet
   Stil: Hell, minimalistisch, elegant – simple Schönheit.
   Display-Font: Cormorant Garamond  |  Text-Font: Jost
   ========================================================================= */

/* --- Design-Variablen ---------------------------------------------------- */
:root {
    --bg:          #001c22;   /* tiefes Petrol-Dunkelblau */
    --bg-soft:     #022a32;   /* leicht aufgehellte Fläche */
    --bg-alt:      #04323b;   /* alternierende Sektionen */
    --bg-ink:      #00141a;   /* noch dunklere Fläche / Hero-Grund */
    --line:        #15414a;   /* sichtbare Trennlinien auf Dunkel */
    --line-soft:   #0d343c;   /* dezentere Linie */
    --text:        #ffffff;   /* reinweißer Text – hoher Kontrast */
    --text-soft:   #b8c6c9;   /* gedämpfter, gut lesbarer Text */
    --text-mute:   #7d9094;   /* dezent, jedoch kontrastreich */
    --accent:      #e0903f;   /* warmer, heller Bronze-/Kupferakzent */
    --accent-soft: #f0aa5e;
    --accent-deep: #b96f24;   /* dunklere Akzentvariante */
    --accent-dim:  rgba(224,144,63,0.12);
    --maxw:        1180px;
    --ease:        cubic-bezier(.22,.61,.36,1);
}

/* --- Reset --------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: .012em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* --- Typografie ---------------------------------------------------------- */
h1,h2,h3,h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: .005em;
    color: var(--text);
}
h1 em, h2 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

.eyebrow,
.section-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--accent);
}

.lead {
    font-size: 1.16rem;
    color: var(--text-soft);
    line-height: 1.8;
}
.muted { color: var(--text-mute); font-size: .92em; }

/* --- Layoutbausteine ----------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}
.container.narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding: 110px 0; }
.section--alt { background: var(--bg-soft); }
.section--intro { padding-bottom: 60px; }

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin: 14px 0 22px;
}
.section-eyebrow + .section-title { margin-top: 12px; }

/* =========================================================================
   Seiten-Ladebalken
   ========================================================================= */
#smg-progress {
    position: fixed; top: 0; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    z-index: 200;
    transition: width .3s var(--ease), opacity .3s ease;
    opacity: 0;
}
#smg-progress.active  { opacity: 1; }

/* =========================================================================
   Kopfbereich / Navigation
   ========================================================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 170;
    background: rgba(0,28,34,0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled {
    background: rgba(0,28,34,0.97);
    border-bottom-color: var(--line);
}
/* Solange das Menü offen ist, bleibt der Kopf nahtlos dunkel */
body.nav-open .site-header {
    background: var(--bg);
    border-bottom-color: transparent;
}
.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Marke / Logo */
.brand { display: flex; align-items: center; }
.brand-logo {
    height: 42px;
    width: auto;
    display: block;
    transition: opacity .3s ease;
}
.brand:hover .brand-logo { opacity: .82; }
.footer-logo {
    height: 58px;
    width: auto;
    display: block;
}

/* Navigation – zentriertes Vollbild-Overlay (Desktop & Mobil) */
.main-nav {
    position: fixed;
    inset: 0;
    z-index: 160;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 24px 56px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.main-nav.open {
    opacity: 1;
    visibility: visible;
}
.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    margin: auto 0;
}
.main-nav li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.main-nav.open li { opacity: 1; transform: translateY(0); }
.main-nav.open li:nth-child(1) { transition-delay: .08s; }
.main-nav.open li:nth-child(2) { transition-delay: .13s; }
.main-nav.open li:nth-child(3) { transition-delay: .18s; }
.main-nav.open li:nth-child(4) { transition-delay: .23s; }
.main-nav.open li:nth-child(5) { transition-delay: .28s; }
.main-nav.open li:nth-child(6) { transition-delay: .33s; }
.main-nav.open li:nth-child(7) { transition-delay: .38s; }
.main-nav a {
    display: block;
    padding: clamp(4px, 1vh, 10px) 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 1.4rem + 1.6vh, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--text);
    position: relative;
    transition: color .3s ease;
}
.main-nav a::after {
    content: '';
    position: absolute; left: 50%; right: 50%; bottom: clamp(2px,1vh,10px);
    height: 2px; background: var(--accent);
    transition: left .35s var(--ease), right .35s var(--ease);
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after,
.main-nav li.is-active a::after { left: 24px; right: 24px; }
.main-nav li.is-active a { color: var(--accent); }

/* Verhindert Scrollen der Seite, solange das Menü offen ist */
body.nav-open { overflow: hidden; }
/* Bei offenem Menü tritt der Cookie-Hinweis in den Hintergrund */
body.nav-open .cookie-banner,
body.nav-open .floating-call { display: none; }

/* Burger – auf allen Bildschirmgrößen sichtbar */
.nav-toggle {
    display: flex;
    background: none; border: 0; cursor: pointer;
    width: 46px; height: 46px;
    flex-direction: column; gap: 6px;
    align-items: center; justify-content: center;
    position: relative; z-index: 130;
}
.nav-toggle span {
    display: block; width: 26px; height: 2px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .3s ease, background .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Inhaltscontainer ---------------------------------------------------- */
.site-content { padding-top: 84px; min-height: 70vh; }
.site-content.is-loading { opacity: .35; transition: opacity .2s ease; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 34px;
    font-family: 'Jost', sans-serif;
    font-size: .8rem; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase;
    cursor: pointer; border: 1px solid transparent;
    transition: all .35s var(--ease);
}
.btn-sm { padding: 11px 22px; font-size: .72rem; }

.btn-gold {
    background: var(--accent);
    color: var(--bg-ink);
    font-weight: 600;
}
.btn-gold:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(224,144,63,.55);
}
.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
    border-color: var(--line);
    color: var(--text-soft);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.text-link {
    display: inline-block;
    margin-top: 8px;
    font-size: .82rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--accent);
    transition: opacity .25s ease;
}
.text-link:hover { opacity: .65; }

/* =========================================================================
   Hero (Startseite)
   ========================================================================= */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--bg-ink);
}
.hero-photo {
    position: absolute; inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(1.1) contrast(1.08);
    opacity: 1;
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(0,20,26,.82) 18%, rgba(0,20,26,.40) 58%, rgba(0,20,26,.12) 100%),
        linear-gradient(0deg, rgba(0,20,26,.62) 0%, transparent 38%);
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 28%, transparent 76%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}
.hero-title {
    font-size: clamp(2.7rem, 6.4vw, 5.4rem);
    margin: 22px 0 26px;
    max-width: 16ch;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0,12,16,.55);
}
.hero-lead {
    font-size: 1.2rem;
    color: #e7edee;
    max-width: 56ch;
    margin-bottom: 38px;
    text-shadow: 0 1px 14px rgba(0,12,16,.5);
}
.hero .eyebrow { color: var(--accent-soft); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
}
.hero-scroll span {
    display: block; width: 1px; height: 56px;
    background: linear-gradient(var(--accent), transparent);
    animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: .25; transform: scaleY(.6); }
    50%     { opacity: 1;   transform: scaleY(1); }
}

/* =========================================================================
   Seitenkopf der Unterseiten – vollwertiges Hero-Bild
   ========================================================================= */
.pagehead {
    position: relative;
    padding: 220px 0 110px;
    overflow: hidden;
    background: var(--bg-ink);
}
.pagehead-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.08);
    filter: saturate(1.08);
}
.pagehead::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(120deg, rgba(224,144,63,.30), transparent 58%),
        linear-gradient(0deg,
            rgba(0,20,26,.96) 0%,
            rgba(0,20,26,.74) 48%,
            rgba(0,20,26,.60) 100%);
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead .eyebrow { color: var(--accent-soft); }
.pagehead-title {
    font-size: clamp(2.8rem, 6.4vw, 5rem);
    margin: 16px 0 24px;
    color: #fff;
}
.pagehead-title em { color: var(--accent-soft); }
.pagehead-lead {
    font-size: 1.22rem;
    color: rgba(255,255,255,.84);
    max-width: 62ch;
}

/* =========================================================================
   Karten-Raster (Startseite – Geschäftsbereiche)
   ========================================================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.bcard {
    background: var(--bg);
    padding: 44px 38px 38px;
    position: relative;
    display: flex; flex-direction: column;
    transition: background .4s var(--ease);
}
.bcard:hover { background: var(--bg-soft); }
.bcard-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    color: var(--accent);
    opacity: .4;
    line-height: 1;
}
.bcard-title {
    font-size: 1.85rem;
    margin: 14px 0 12px;
}
.bcard-desc {
    color: var(--text-soft);
    font-size: .98rem;
    flex-grow: 1;
}
.bcard-tags {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: 7px;
    margin: 22px 0 0;
}
.bcard-tags li {
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-mute);
    border: 1px solid var(--line);
    padding: 4px 10px;
}
.bcard-arrow {
    position: absolute;
    top: 44px; right: 38px;
    font-size: 1.3rem; color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: all .35s var(--ease);
}
.bcard:hover .bcard-arrow {
    opacity: 1; transform: translateX(0);
}

/* =========================================================================
   Showcase-Bildraster
   ========================================================================= */
.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 230px;
    gap: 16px;
}
.showcase-item {
    position: relative;
    overflow: hidden;
}
.showcase-item--wide { grid-row: span 2; }
.showcase-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0);
    transition: transform .9s var(--ease), filter .5s ease;
}
.showcase-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0);
}
.showcase-item figcaption {
    position: absolute; left: 0; bottom: 0;
    padding: 16px 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(0deg, rgba(16,15,12,.82), transparent);
    width: 100%;
}

/* =========================================================================
   Split-Block (abwechselnd Bild / Text)
   ========================================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
}
.split:last-child { border-bottom: 0; }
.split--flip .split-media { order: 2; }

.split-media {
    position: relative;
    overflow: hidden;
}
.split-media::after {
    content: '';
    position: absolute; inset: 0;
    border: 1px solid rgba(168,90,30,.28);
    pointer-events: none;
}
.split-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(0);
    transition: transform .9s var(--ease), filter .5s ease;
}
.split-media:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}
.split-media--logo {
    background: #ffffff;
    display: grid; place-items: center;
    padding: 60px;
    border: 1px solid var(--line);
}
.split-media--logo img {
    aspect-ratio: auto;
    filter: none;
    max-height: 130px;
    width: auto;
}
.split-media--logo::after { display: none; }
.split-media--logo:hover img { transform: none; }

.split-title {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    margin: 12px 0 18px;
}
.split-body p { color: var(--text-soft); }

/* Pill-Liste */
.pill-list {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: 9px;
    margin-top: 24px;
}
.pill-list li {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(168,90,30,.34);
    padding: 7px 14px;
}

/* =========================================================================
   Modul-Raster (Software M2)
   ========================================================================= */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 50px;
}
.module-card {
    background: var(--bg);
    padding: 40px 34px;
    transition: background .4s var(--ease);
}
.module-card:hover { background: var(--bg-soft); }
.module-icon {
    display: grid; place-items: center;
    width: 54px; height: 54px;
    border: 1px solid rgba(168,90,30,.46);
    color: var(--accent);
    margin-bottom: 20px;
}
.module-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.module-text {
    color: var(--text-soft);
    font-size: .95rem;
}

/* =========================================================================
   Produktkatalog (Dry Hire)
   ========================================================================= */
.catalog-cat {
    margin-top: 64px;
}
.catalog-cat:first-of-type { margin-top: 40px; }
.catalog-cat-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}
.catalog-cat-head h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.catalog-cat-head .count {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.product-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform .6s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb--ph {
    background: linear-gradient(150deg, var(--bg-alt), var(--bg-ink));
    display: grid;
    place-items: center;
    padding: 20px;
}
.product-thumb--ph span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-style: italic;
    color: var(--accent);
    opacity: .55;
    text-align: center;
    line-height: 1.1;
}
.product-badge {
    position: absolute;
    top: 10px; left: 10px;
    font-family: 'Jost', sans-serif;
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--bg-ink);
    padding: 4px 9px;
    font-weight: 600;
}
.product-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}
.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.34rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}
.product-cat-label {
    font-size: .64rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.product-price {
    margin-top: auto;
    padding-top: 12px;
    font-family: 'Jost', sans-serif;
    font-size: .96rem;
    color: var(--accent);
    font-weight: 500;
}
.product-price .ppd {
    color: var(--text-mute);
    font-size: .8rem;
    letter-spacing: .04em;
}
.product-price--ask { color: var(--text-soft); font-style: italic; }

/* =========================================================================
   Testimonials (Google-Bewertungen)
   ========================================================================= */
.reviews-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.reviews-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
}
.reviews-score {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}
.reviews-stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
}
.reviews-stars svg { width: 20px; height: 20px; }
.reviews-meta {
    font-size: .9rem;
    color: var(--text-mute);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 46px;
}
.review-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 30px 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.review-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.review-card-stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
}
.review-card-stars svg { width: 15px; height: 15px; }
.review-text {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}
.review-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(150deg, var(--accent-soft), var(--accent-deep));
    color: var(--bg-ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}
.review-author-name {
    font-weight: 500;
    color: var(--text);
    font-size: .96rem;
}
.review-author-meta {
    font-size: .76rem;
    color: var(--text-mute);
}
.reviews-cta {
    margin-top: 40px;
    text-align: center;
}

/* =========================================================================
   Referenzen-Galerie (Startseite)
   ========================================================================= */
.refs-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
    margin-top: 46px;
}
.ref-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
}
/* Asymmetrisches Raster für ein lebendiges, redaktionelles Layout */
.ref-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.ref-item:nth-child(2) { grid-column: span 7; grid-row: span 1; }
.ref-item:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.ref-item:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.ref-item:nth-child(5) { grid-column: span 5; grid-row: span 2; }
.ref-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.ref-item:nth-child(7) { grid-column: span 3; grid-row: span 1; }
.ref-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.ref-item:hover img { transform: scale(1.07); }
.ref-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 26px 22px 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,12,16,.88), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ref-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 860px) {
    .refs-grid {
        grid-auto-rows: 160px;
    }
    .ref-item:nth-child(n) { grid-column: span 6; grid-row: span 1; }
    .ref-item:nth-child(1) { grid-column: span 12; grid-row: span 2; }
    .ref-item figcaption { opacity: 1; transform: none; font-size: 1.05rem; }
}

/* =========================================================================
   Callout-Box
   ========================================================================= */
.callout {
    border: 1px solid var(--line);
    border-left: 2px solid var(--accent);
    background: var(--bg-soft);
    padding: 34px 38px;
}
.callout h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.callout p { color: var(--text-soft); }
.callout a { color: var(--accent); }
.callout--feature {
    background:
        linear-gradient(120deg, var(--accent-dim), transparent 60%),
        var(--bg-soft);
    padding: 44px 46px;
}
.callout--feature h3 { font-size: 2rem; }

/* =========================================================================
   CTA-Sektion
   ========================================================================= */
.section--cta {
    background:
        radial-gradient(ellipse at center, rgba(168,90,30,.09), transparent 65%),
        var(--bg-alt);
}
.section--cta .hero-actions { justify-content: center; }

/* =========================================================================
   Kontaktseite
   ========================================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info p { color: var(--text-soft); margin-top: 14px; }

.contact-list {
    list-style: none;
    margin-top: 32px;
}
.contact-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 3px;
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-label {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
}
.contact-list a:hover { color: var(--accent); }

/* Kontakt-Aktionskarten (statt Formular) */
.contact-cards {
    display: grid;
    gap: 16px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.contact-card-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border: 1px solid rgba(168,90,30,.46);
    color: var(--accent);
}
.contact-card-body { display: flex; flex-direction: column; }
.contact-card-label {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.contact-card-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text);
}
.contact-card:hover .contact-card-value { color: var(--accent); }

/* Karte */
.map-frame {
    border: 1px solid var(--line);
    overflow: hidden;
    line-height: 0;
}
.map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(.4) invert(.92) hue-rotate(170deg) contrast(.9) brightness(.95);
}

/* Rechtliches */
.legal-block {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.legal-block h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.legal-block p {
    color: var(--text-soft);
    font-size: .96rem;
    margin-bottom: 12px;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 70px 0 0;
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px 50px;
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
    gap: 44px;
}
.footer-claim {
    margin-top: 18px;
    color: var(--text-soft);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    max-width: 26ch;
}
.footer-col h4 {
    font-family: 'Jost', sans-serif;
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}
.footer-col address {
    font-style: normal;
    color: var(--text-soft);
    font-size: .94rem;
    line-height: 1.85;
}
.footer-col address a:hover { color: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: var(--text-soft);
    font-size: .94rem;
    transition: color .25s ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-actions { display: flex; flex-direction: column; gap: 10px; }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 24px 32px;
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; gap: 12px;
    font-size: .82rem;
    color: var(--text-mute);
}
.footer-bottom a:hover { color: var(--accent); }

/* =========================================================================
   Schwebender Anruf-Button
   ========================================================================= */
.floating-call {
    position: fixed;
    right: 26px; bottom: 26px;
    z-index: 90;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: var(--accent);
    color: var(--bg-ink);
    border-radius: 50%;
    box-shadow: 0 10px 26px -8px rgba(0,0,0,.6);
    transition: transform .3s var(--ease), background .3s ease;
}
.floating-call:hover { transform: scale(1.08); background: var(--accent-soft); }

/* =========================================================================
   Cookie-Banner
   ========================================================================= */
.cookie-banner {
    position: fixed;
    left: 20px; right: 20px; bottom: 20px;
    z-index: 150;
    max-width: 880px;
    margin: 0 auto;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-top: 2px solid var(--accent);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 26px;
    box-shadow: 0 20px 50px -18px rgba(0,0,0,.7);
    animation: cookieIn .5s var(--ease) both;
}
@keyframes cookieIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-text {
    font-size: .9rem;
    color: var(--text-soft);
    line-height: 1.65;
}
.cookie-text strong { color: var(--text); font-weight: 500; }
.cookie-text a { color: var(--accent); }
.cookie-actions { flex-shrink: 0; }

/* =========================================================================
   Scroll-Reveal-Animation
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* Hero-Inhalt: erscheint sofort beim Laden – unabhängig vom Scroll-Observer,
   da er bereits oberhalb der Falz sichtbar ist. */
.hero-inner .reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: heroIn .9s var(--ease) forwards;
}
.hero-inner .reveal:nth-child(1) { animation-delay: .12s; }
.hero-inner .reveal:nth-child(2) { animation-delay: .24s; }
.hero-inner .reveal:nth-child(3) { animation-delay: .36s; }
.hero-inner .reveal:nth-child(4) { animation-delay: .48s; }
@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 44px; }
    .split,
    .split--flip {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 46px 0;
    }
    .split--flip .split-media { order: 0; }
    .showcase-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .showcase-item--wide { grid-row: span 1; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .section { padding: 74px 0; }
    .container { padding: 0 22px; }
    .header-inner { padding: 0 22px; height: 72px; }
    .site-content { padding-top: 72px; }
    .brand-tagline { display: none; }

    .footer-inner { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }
    .hero-actions .btn,
    .section--cta .hero-actions .btn { flex: 1 1 auto; }
}

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
