/* ═══════════════════════════════════════════════════════════
   Gemeinsame Bausteine für alle Seiten
   Kopfzeile · Schnellkontakt · Instagram · Zahlen · CTA · Footer
   ═══════════════════════════════════════════════════════════ */
:root {
    --cream:      #f7f3ec;   /* warmes Cremeweiß */
    --sand:       #efe8dc;   /* helles Beige */
    --sand-dark:  #e6ddcd;
    --line:       #e3dacb;
    --ink:        #2b2d2f;   /* Anthrazit */
    --ink-soft:   #4a4743;
    --muted:      #7a746b;
    --hdr-h:      112px;     /* wird per JS exakt gesetzt */
    --ig-grad: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
:where(section[id], footer[id]) { scroll-margin-top: var(--hdr-h); }

/* ── HEADER-WRAPPER ───────────────────────────── */
.site-header { z-index: 1030; }
.site-header nav.navbar { position: relative; z-index: 1; }

/* ── TOP BAR ──────────────────────────────────── */
.topbar { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar-text { font-size: .7rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.quick-contact { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.qc-item { position: relative; }
.qc-btn {
    width: 34px; height: 34px; border-radius: 50%; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--ink); border: 1px solid var(--line);
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.qc-btn svg { width: 16px; height: 16px; }
.qc-btn:hover, .qc-btn[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.qc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qc-insta, .qc-insta:hover { background: var(--ig-grad); color: #fff; border-color: transparent; }
.qc-insta:hover { transform: scale(1.08); }

.qc-pop {
    position: absolute; top: calc(100% + 12px); right: -6px;
    width: min(280px, calc(100vw - 32px));
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(43,45,47,.14);
    padding: 16px 18px; z-index: 1060;
}
.qc-pop::before {
    content: ''; position: absolute; top: -7px; right: 17px;
    width: 12px; height: 12px; background: #fff;
    border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: rotate(45deg);
}
.qc-pop[hidden] { display: none; }
.qc-label { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.qc-value { display: block; font-size: 1.05rem; font-weight: 500; color: var(--ink); word-break: break-all; }
.qc-value:hover { color: var(--accent); }
.qc-actions { display: flex; gap: 8px; margin-top: 12px; }
.qc-action {
    flex: 1; font-family: inherit; font-size: .7rem; font-weight: 400;
    letter-spacing: .1em; text-transform: uppercase; text-align: center;
    padding: 9px 10px; border: 1px solid var(--ink); color: var(--ink);
    background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.qc-action.primary { background: var(--ink); color: #fff; }
.qc-action:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 767.98px) {
    .topbar-inner { min-height: 54px; }
    .quick-contact { gap: 12px; }
    .qc-btn { width: 42px; height: 42px; }
    .qc-btn svg { width: 19px; height: 19px; }
    .qc-pop::before { right: 21px; }
}

/* ── INSTAGRAM-GLYPHE (Original-Optik) ────────── */
.ig-square {
    width: 96px; height: 96px; border-radius: 26px; flex-shrink: 0;
    background: var(--ig-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 30px rgba(214,36,159,.22); transition: transform .3s;
}
.ig-square svg { width: 54px; height: 54px; }
.ig-square:hover { transform: rotate(-4deg) scale(1.04); color: #fff; }
.ig-circle {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--ig-grad); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.ig-circle svg { width: 20px; height: 20px; }

/* Instagram-Band (Startseite) */
.insta-band { padding: 88px 0; background: #fff; }
.insta-card {
    display: flex; align-items: center; gap: 40px;
    padding: 48px 56px; border: 1px solid var(--line);
    background: linear-gradient(115deg, #fff 0%, var(--cream) 100%);
}
.insta-text { flex: 1; }
.insta-text .sec-title { color: var(--ink); }
.btn-insta {
    display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
    padding: 15px 28px; background: var(--ink); color: #fff;
    font-size: .8rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
    transition: background .3s;
}
.btn-insta svg { width: 18px; height: 18px; }
.btn-insta:hover { background: #d6249f; color: #fff; }
@media (max-width: 991.98px) {
    .insta-card { flex-direction: column; text-align: center; padding: 40px 24px; gap: 24px; }
}

/* ── ZAHLEN (Startseite) ──────────────────────── */
.stats { background: var(--cream); padding: 96px 0; }
.stats-head { text-align: center; margin-bottom: 52px; }
.stats-head .sec-title { color: var(--ink); }
.stat-card {
    position: relative; height: 100%; text-align: center;
    background: #fff; border: 1px solid var(--line);
    padding: 44px 20px 38px; transition: transform .3s, box-shadow .3s;
}
.stat-card::before {
    content: ''; position: absolute; top: -1px; left: 50%;
    width: 44px; height: 3px; background: var(--accent); transform: translateX(-50%);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,45,47,.08); }
.stat-num {
    font-size: clamp(2.6rem, 4.6vw, 3.9rem); font-weight: 500; line-height: 1;
    color: var(--ink); margin-bottom: 16px; font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .5em; color: var(--accent); top: -.75em; margin-left: 2px; }
.stat-lbl { font-size: .74rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 575.98px) {
    .stats { padding: 72px 0; }
    .stat-card { padding: 32px 10px 26px; }
    .stat-lbl { font-size: .64rem; letter-spacing: .1em; }
}

/* ── CTA HELL (Leistungsseite) ────────────────── */
.cta-light { background: var(--cream); padding: 96px 0; }
.cta-card {
    position: relative; background: #fff; border: 1px solid var(--line);
    padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center;
}
.cta-card::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--accent); }
.cta-card .sec-title { color: var(--ink); }
.cta-links { display: grid; gap: 14px; margin-top: 30px; }
.cta-link { display: flex; align-items: center; gap: 14px; font-size: 1rem; font-weight: 300; color: var(--ink); transition: color .2s; }
.cta-link:hover { color: var(--accent); }
.cta-ico {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--cream); color: var(--accent);
}
.cta-ico svg { width: 18px; height: 18px; }
.cta-ico.ig-circle { border: none; background: var(--ig-grad); color: #fff; }
@media (max-width: 991.98px) { .cta-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; } }

/* ── FOOTER (hell) ────────────────────────────── */
.site-footer { background: var(--sand); color: var(--ink); padding: 80px 0 0; border-top: 1px solid var(--line); }
.ft-logo { height: 54px; width: auto; margin-bottom: 20px; background: #fff; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; }
.ft-desc { font-size: .92rem; font-weight: 300; color: var(--ink-soft); line-height: 1.75; max-width: 360px; }
.ft-contact { list-style: none; padding: 0; margin: 24px 0 0; }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; font-weight: 300; color: var(--ink-soft); margin-bottom: 10px; }
.ft-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.ft-contact a { transition: color .2s; }
.ft-contact a:hover { color: var(--accent); }
.ft-insta {
    display: inline-flex; align-items: center; gap: 14px; margin-top: 18px;
    padding: 8px 22px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
    transition: box-shadow .25s, transform .25s;
}
.ft-insta:hover { box-shadow: 0 10px 26px rgba(43,45,47,.1); transform: translateY(-2px); }
.ft-insta strong { display: block; font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.ft-insta small { display: block; font-size: .74rem; font-weight: 300; color: var(--muted); }
.ft-head { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.ft-list { list-style: none; padding: 0; margin: 0; }
.ft-list li + li { margin-top: 10px; }
.ft-list a { font-size: .92rem; font-weight: 300; color: var(--ink-soft); transition: color .2s; }
.ft-list a:hover { color: var(--accent); }
.ft-meta { font-size: .85rem; font-weight: 300; color: var(--muted); }
.ft-bottom { margin-top: 64px; background: var(--sand-dark); padding: 18px 0; }
.ft-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ft-copy { font-size: .8rem; font-weight: 300; color: var(--muted); }
.ft-legal { display: flex; align-items: center; gap: 20px; }
.ft-legal a { font-size: .8rem; font-weight: 400; color: var(--ink-soft); transition: color .2s; }
.ft-legal a:hover { color: var(--accent); }
.ft-legal .ig-circle { width: 34px; height: 34px; transition: transform .2s; }
.ft-legal .ig-circle svg { width: 17px; height: 17px; }
.ft-legal .ig-circle:hover { transform: scale(1.08); color: #fff; }
