/*
Theme Name: Famez HF Starter
Theme URI: https://famez.de
Author: Famez
Author URI: https://famez.com
Description: Helles Famez-Theme (weiß & pastell) mit abwechselnd gefärbten Sektionen, weißem Header/Footer, hero-bild-proportional ohne Scroll.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: famez-hf-starter
*/

/* =====================
   Design Tokens (Light)
   ===================== */
:root{
  /* Neutrals */
  --bg: #ffffff;
  --bg-2:#faf7fb;            /* ganz leicht getönt */
  --text:#191924;
  --muted:#6a6a77;
  --border:#e9e7ef;
  --shadow: 0 10px 30px rgba(31, 28, 50, .10);

  /* Famez Brand (aus Screenshot/Famez) */
  --pink:   #ff5ea8;
  --lav:    #b388ff;
  --peach:  #ffd9e5;
  --rose:   #ffe9f0;
  --lilac:  #f3e9ff;

  --primary: var(--pink);
  --accent:  var(--lav);

  --ring: rgba(255,94,168,.45);
}
/* Page-Content-Karte ohne Rahmen */
.page .fz-page-card{
  border: 0 !important;
  background: transparent;  /* oder deine Wunschfläche */
  box-shadow: none;
}
/* =====================
   Base / Reset
   ===================== */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden}   /* niemals seitliches Scrollen */
body{
  margin:0;
  color:var(--text);
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;
  background:var(--bg);
}
img{max-width:100%;height:auto;display:block}

a{color:var(--text);text-decoration:none}
a:hover{opacity:.9}
a:focus-visible,button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}

.container{width:min(1200px,92vw);margin:0 auto;padding:0 24px}

/* WP Core helpers */
.alignwide{width:min(1400px,92vw);margin-inline:auto}
.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);transform:none;box-sizing:border-box}
.wp-caption{text-align:center;color:var(--muted)}
.screen-reader-text{position:absolute;left:-9999px}

/* =====================
   Navigation / Topbar (weiß)
   ===================== */
.menu{list-style:none;margin:0;padding:0;display:flex;gap:12px;flex-wrap:wrap}
.menu li{list-style:none}
.menu a{display:inline-block;padding:8px 12px;border-radius:10px;transition:background .2s ease,opacity .2s ease}

.topbar{
  background:#fff;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:.95rem;
}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.topbar .menu a{color:var(--muted);padding:6px 10px}
.topbar .menu a:hover{background:#f5f4f8;color:var(--text)}
.lang-switch a{color:var(--muted)}
.lang-switch a:hover{color:var(--text)}

/* =====================
   Header (weiß, sticky)
   ===================== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:#fff;
  -webkit-backdrop-filter:saturate(120%) blur(8px);
  backdrop-filter:saturate(120%) blur(8px);
  border-bottom:1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.03);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}
.branding{display:flex;align-items:center;gap:12px}
.branding .site-title{font-weight:700;letter-spacing:.3px}
.branding .site-title a{color:var(--text)}

.primary-nav .menu a{padding:10px 14px;border-radius:999px}
.primary-nav .menu a:hover{background:#f5f4f8}
.menu .current-menu-item>a,.menu .current_page_item>a{background:#f0eef6}

/* Burger */
.burger{display:none;border:0;background:transparent;width:40px;height:40px;cursor:pointer}
.burger span{display:block;height:2px;background:var(--text);margin:7px 0;border-radius:1px}
.burger:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
@media (max-width:980px){.burger{display:block}.primary-nav{display:none}}

/* Mobile Drawer (weiß) */
[hidden]{display:none !important}
.mobile-drawer{display:none;background:#fff;border-top:1px solid var(--border)}
.mobile-drawer.open{display:block}
.mobile-drawer .menu{flex-direction:column;gap:6px;margin:0;padding:8px}
.mobile-drawer .menu a{display:block;padding:12px 14px;border-radius:10px}
.mobile-drawer .menu a:hover{background:#f5f4f8}

/* =====================
   Buttons
   ===================== */
.button,.wp-block-button__link{
  display:inline-block;padding:10px 16px;border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;
  box-shadow:0 10px 24px rgba(255,94,168,.22);
  text-decoration:none;border:0;
}
.button:hover,.wp-block-button__link:hover{filter:brightness(.98)}
.button.is-ghost{
  background:#fff;color:var(--text);
  border:1px solid var(--border);box-shadow:none;
}
.fz-btn-sm{padding:8px 12px;font-size:.95rem}

/* =====================
   Footer (weiß)
   ===================== */
.site-footer{
  margin-top:48px;background:#fff;color:var(--muted);
  border-top:1px solid var(--border);
}
.footer-inner{padding:28px 0;display:grid;gap:20px;grid-template-columns:2fr 1fr 1fr;align-items:center}
@media (max-width:900px){.footer-inner{grid-template-columns:1fr}}
.site-footer .menu{gap:12px}
.site-footer a{color:var(--text)}
.site-footer a:hover{opacity:.9}
.small{font-size:.875rem;color:var(--muted)}

/* Logos */
.branding .custom-logo-link{display:inline-flex;align-items:center;line-height:0}
.branding .custom-logo,.branding .custom-logo-link img{height:40px;max-width:160px;width:auto;display:block}
.site-footer .custom-logo-link{display:inline-flex;align-items:center;line-height:0}
.site-footer .custom-logo,.site-footer .custom-logo-link img{height:28px;max-width:140px;width:auto;display:block}
@media (max-width:480px){
  .branding .custom-logo,.branding .custom-logo-link img{height:36px;max-width:140px}
  .site-footer .custom-logo,.site-footer .custom-logo-link img{height:24px;max-width:120px}
}

/* =====================
   Sections: Alternierende Tints
   ===================== */
.fz-section{padding:52px 0}
.fz-h2{margin:0 0 16px;font-size:clamp(22px,2.6vw,32px);color:#11101a}
.fz-muted{color:var(--muted)}
.fz-link{color:var(--text)}
.fz-link:hover{opacity:.9}

/* Automatischer Wechsel: odd = weiß, even = zarter Verlauf */
.fz-section:nth-of-type(odd){background:#fff}
.fz-section:nth-of-type(even){
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(255,94,168,.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(179,136,255,.10), transparent 60%),
    var(--bg-2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

/* =====================
   HERO (hell, kein Scroll, Bild nicht beschnitten)
   ===================== */
.fz-hero{
  position:relative;
  padding:72px 0 32px;             /* weniger Abstand nach unten */
  background:#fff;
}
.fz-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center}
@media (max-width:980px){.fz-hero-grid{grid-template-columns:1fr}}

.fz-hero-title{font-size:clamp(32px,6vw,56px);margin:0 0 10px}
.fz-hero-sub{font-size:clamp(16px,2vw,20px);color:var(--muted);margin:0 0 16px}
.fz-cta-row{display:flex;gap:12px;flex-wrap:wrap}
.fz-proof{display:flex;gap:12px;flex-wrap:wrap;list-style:none;margin:12px 0 0;padding:0;color:var(--muted)}

/* Hero Media – das Bild behält Proportion, kein Crop, kein "Karten-Rand" */
.fz-hero-media{
  display:flex;align-items:center;justify-content:center;
  /* kein fixer Rahmen; nur sanfter Schatten für Tiefe */
}
.fz-hero-media .fz-hero-img,
.fz-hero-media img{
  max-width:100%;
  max-height:420px;            /* visuelle Kappung */
  width:auto; height:auto;     /* -> Proportion bleibt erhalten */
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit:contain;          /* explizit: nichts beschneiden */
  background:#fff;             /* kein dunkles Letterboxen */
}
@media (max-width:980px){
  .fz-hero-media .fz-hero-img,
  .fz-hero-media img{max-height:320px}
}

/* Optionaler Glow unter dem Hero – klein & ohne Overflow */
.fz-hero::after{
  content:""; position:absolute; left:0; right:0; bottom:-28px; height:120px;
  background:linear-gradient(90deg, rgba(255,94,168,.12), rgba(179,136,255,.12));
  filter:blur(26px); z-index:0; pointer-events:none;
}

/* =====================
   Proof-Badges (hell)
   ===================== */
.fz-proofbar .fz-badge{
  text-align:center;border:1px solid var(--border);border-radius:14px;padding:16px;
  background:#fff;box-shadow: var(--shadow);
}
.fz-proofbar .fz-badge strong{display:block;font-size:1.1rem;color:#11101a}

/* =====================
   Grids & Cards
   ===================== */
.fz-grid{display:grid;gap:18px}
.fz-grid-3{grid-template-columns:repeat(3,1fr)}
.fz-grid-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){.fz-grid-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.fz-grid-3,.fz-grid-4{grid-template-columns:1fr}}

.fz-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;
  box-shadow: var(--shadow);
}
.fz-card-hover{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.fz-card-hover:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(31,28,50,.16);border-color:#dcd7ee}
.fz-card-icon{font-size:22px;opacity:.9;margin-bottom:6px;color:var(--primary)}
.fz-card-title{margin:0 0 6px}
.fz-card-text{margin:8px 0 0}

/* =====================
   Cases – Horizontal Scroller
   ===================== */
.fz-scroller{
  display:grid;grid-auto-flow:column;grid-auto-columns:clamp(280px,28vw,360px);
  gap:14px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain
}
.fz-scroller>*{scroll-snap-align:start}

.fz-case{
  display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--border);
  border-radius:16px;padding:10px;box-shadow: var(--shadow);
}
.fz-case-media{position:relative;display:block;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:#f5f4f8}
.fz-case-media img{display:block;width:100%;height:100%;object-fit:cover}
.fz-case-title{margin:0}
.fz-case-teaser{margin:4px 0 0;color:var(--muted)}

/* KPI-Badges Overlay */
.fz-case-badges{
  position:absolute;top:10px;left:10px;z-index:2;
  display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none;pointer-events:none
}
.fz-badge-chip{
  pointer-events:none;padding:6px 10px;border-radius:999px;font-size:.85rem;line-height:1;color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  box-shadow:0 8px 20px rgba(31,28,50,.18)
}
@media (max-width:520px){.fz-badge-chip{font-size:.80rem;padding:5px 9px}}

/* Scroller Controls */
.fz-scroller-actions{display:flex;align-items:center;gap:10px}
.fz-arrow{
  width:36px;height:36px;border-radius:999px;border:1px solid var(--border);
  background:#fff;box-shadow: var(--shadow);cursor:pointer;position:relative
}
.fz-arrow::before{
  content:"";position:absolute;inset:0;margin:auto;width:8px;height:8px;border-top:2px solid #11101a;border-right:2px solid #11101a;transform:rotate(45deg)
}
.fz-arrow[data-scroll="left"]::before{transform:rotate(-135deg);left:12px}
.fz-arrow[data-scroll="right"]::before{transform:rotate(45deg);left:14px}

/* =====================
   Steps
   ===================== */
.fz-steps .fz-step{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow: var(--shadow)}
.fz-steps .num{
  width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--accent));font-weight:700;color:#fff
}

/* =====================
   Leadband
   ===================== */
.fz-leadband{
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(255,94,168,.12), transparent 60%),
    radial-gradient(700px 280px at 100% 0%, rgba(179,136,255,.12), transparent 60%),
    #fff;
  border-top:1px solid var(--border);border-bottom:1px solid var(--border)
}
.fz-leadband-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.fz-lead-form form{display:flex;gap:10px;flex-wrap:wrap}
.fz-lead-form input[type="email"]{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px 12px;min-width:260px}
.fz-consent{width:100%;font-size:.86rem;color:var(--muted);margin-top:6px}
@media (max-width:820px){.fz-leadband-inner{flex-direction:column;align-items:flex-start}}

/* =====================
   FAQ
   ===================== */
.fz-faq details{
  border:1px solid var(--border);border-radius:14px;padding:14px 16px;margin:10px 0;background:#fff;box-shadow: var(--shadow)
}
.fz-faq summary{cursor:pointer;font-weight:700;color:#11101a}

/* =====================
   Footer-CTA (weiß)
   ===================== */
.fz-cta-footerband{background:#fff;border-top:1px solid var(--border)}
.fz-cta-footerband-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
@media (max-width:780px){.fz-cta-footerband-inner{flex-direction:column;align-items:flex-start}}

/* =====================
   Blog Cards (Startseite)
   ===================== */
.fz-card-media{display:block;border-radius:12px;overflow:hidden;margin-bottom:10px;aspect-ratio:16/9;background:#f5f4f8}
.fz-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.fz-card-ph{width:100%;height:100%;background:linear-gradient(135deg, rgba(255,94,168,.18), rgba(179,136,255,.18));box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}

/* =====================
   Video Teaser + Modal (hell)
   ===================== */
.fz-video-wrap{max-width:1000px;margin:0 auto}
.fz-video-teaser{
  width:100%;aspect-ratio:16/9;border-radius:16px;overflow:hidden;cursor:pointer;border:1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.01)),
    radial-gradient(800px 300px at 0% 0%, rgba(255,94,168,.12), transparent 60%),
    radial-gradient(800px 300px at 100% 0%, rgba(179,136,255,.12), transparent 60%);
  position:relative;display:block;padding:0;background-size:cover;background-position:center;box-shadow: var(--shadow)
}
.fz-video-teaser::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.0), rgba(0,0,0,.12))}
.fz-play{
  position:absolute;inset:0;margin:auto;width:68px;height:68px;border-radius:999px;border:1px solid rgba(0,0,0,.15);
  background:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center;box-shadow: var(--shadow)
}
.fz-play::before{content:"";display:block;margin-left:4px;width:0;height:0;border-left:18px solid var(--text);border-top:12px solid transparent;border-bottom:12px solid transparent}
.fz-video-teaser:hover .fz-play{transform:scale(1.03)}

.fz-modal{position:fixed;inset:0;display:none}
.fz-modal[aria-hidden="false"]{display:block}
.fz-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:saturate(110%) blur(2px)}
.fz-modal-dialog{position:relative;z-index:2;width:min(1080px,92vw);margin:6vh auto;background:#fff;border:1px solid var(--border);border-radius:16px;padding:10px;box-shadow: var(--shadow)}
.fz-modal-video{width:100%;height:auto;display:block;border-radius:12px;background:#000}
.fz-modal-close{position:absolute;top:8px;right:8px;width:36px;height:36px;border-radius:999px;border:1px solid var(--border);background:#fff;color:#11101a;font-size:20px;line-height:32px;text-align:center;cursor:pointer}
body.modal-open{overflow:hidden}

/* Screenreader only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* =====================
   Reduced Motion
   ===================== */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;scroll-behavior:auto !important}
}
/* === Fixed Header (immer sichtbar) === */
:root{
  /* Headerhöhe – bei Bedarf anpassen */
  --header-h: 72px;
}

/* Header fixieren */
.site-header{
  position: fixed;        /* statt sticky */
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* Höhe konsistent halten */
.header-inner{
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

/* Platz für den fixen Header schaffen, damit nichts darunter verdeckt wird */
body{ padding-top: var(--header-h); }

/* Mobile: etwas kompaktere Headerhöhe */
@media (max-width: 980px){
  :root{ --header-h: 64px; }
}

/* Mobile Drawer soll unter dem fixen Header aufgehen und scrollbar sein */
.mobile-drawer{
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 999;            /* knapp unter dem Header */
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  border-top: 1px solid var(--border);
  display: none;
}
.mobile-drawer.open{ display: block; }

/* Optional: Smooth-Scroll-Offsets für Anker/Abschnittslinks */
[id]{ scroll-margin-top: calc(var(--header-h) + 12px); }

	
.footer-social .social-link { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:999px; border:1px solid rgba(0,0,0,.1); color:#111; background:#fff; }
.site-footer .social-link:hover { opacity:0.9; }
.site-footer .icon { display:block; }
	
	
	
	
	
	
	
	/* Single blog basics */
.fz-article-hero { padding: 28px 0 12px; background: linear-gradient(180deg,#fff 0%, #f7f7fb 100%); color:#0a0a0f; }
.fz-breadcrumb { font-size:.9rem; color:#666; display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px }
.fz-breadcrumb a { color:#444 }
.fz-badge-cat { display:inline-block; padding:6px 10px; border-radius:999px; background:#0a0a0f; color:#fff; font-size:.85rem; }
.fz-article-title { font-size:clamp(26px,4.6vw,42px); margin:.3rem 0 .4rem }
.fz-article-meta { color:#555; display:flex; gap:8px; flex-wrap:wrap; font-size:.95rem }

.fz-article-figure { margin:14px 0 0 }
.fz-article-thumb { width:100%; height:auto; border-radius:16px; border:1px solid rgba(0,0,0,.06) }
.fz-figcap { color:#666; font-size:.9rem; margin-top:6px }

.fz-article-grid { display:grid; gap:22px; grid-template-columns: 260px 1fr; align-items:start; }
@media (max-width:980px){ .fz-article-grid { grid-template-columns: 1fr } }
.fz-toc { position:sticky; top:96px; align-self:start; background: #fff; border:1px solid rgba(0,0,0,.08); border-radius:14px; padding:12px }
.fz-toc-head { font-weight:700; margin-bottom:6px }
#fzTOC ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px }
#fzTOC li.is-sub { margin-left:10px; opacity:.9; }
#fzTOC a { color:#333; text-decoration:none }
#fzTOC a:hover { text-decoration:underline }

.fz-article-body { background: linear-gradient(180deg,#fff,#fff); color:#111; border:1px solid rgba(0,0,0,.08); border-radius:16px; padding:18px }
.fz-article-body .post-content img { border-radius:12px }
.fz-article-body blockquote { border-left:3px solid #7b5cff; margin:14px 0; padding:10px 12px; background:#f7f7fb; color:#222; }

.fz-share { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:12px 0 }
.fz-share-label { color:#555 }
.fz-share-btn { display:inline-flex; align-items:center; justify-content:center; height:30px; padding:0 10px; border-radius:999px; background:#0a0a0f; color:#fff; font-size:.9rem }
.fz-share-top .fz-share-btn { background:#111; }
.fz-share-bottom .fz-share-btn { background:#222; }

.fz-tax { margin-top:18px; display:grid; gap:6px }
.fz-tax-row { color:#555; }
.fz-tax-row a { color:#111; text-decoration:underline }

.fz-authorbox { margin-top:22px }
.fz-authorbox-inner { display:flex; gap:12px; align-items:flex-start; padding:14px; background:#f7f7fb; border:1px solid rgba(0,0,0,.06); border-radius:14px; }
.fz-author-name { font-weight:700; }

.fz-postnav { display:flex; justify-content:space-between; gap:10px; margin-top:18px; padding-top:12px; border-top:1px solid rgba(0,0,0,.08) }
.fz-postnav a { color:#111; }

.fz-read-progress { position:sticky; top:0; left:0; right:0; height:3px; background:transparent; z-index:60 }
.fz-read-progress span { display:block; height:100%; width:0; background:linear-gradient(90deg,#ff2aa1,#7b5cff); }
	
	
	
	/* Inline-Bild im Text: links floatend, mit Caption */
.fz-figure-inline{
  float: left;
  width: min(42%, 420px);
  margin: 2px 18px 12px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(0,0,0,.12));
  background: #fff; /* wirkt wie Magazin – kann auch transparent bleiben, wenn du dunkle Sektionen hast */
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.fz-figure-inline img{
  display: block;
  width: 100%;
  height: auto;        /* wichtig: Proportionen behalten */
  object-fit: contain; /* NICHT croppen */
  background: #fff;
}
.fz-figcap{
  font-size: .9rem;
  line-height: 1.35;
  color: var(--muted, #666);
  padding: 6px 10px 10px;
}

/* Float räumen, damit nichts „unter den Float rutscht“ */
.fz-article-body::after{ content:""; display:block; clear: both; }

/* Mobile: Bild oben vollbreit, kein Float */
@media (max-width: 760px){
  .fz-figure-inline{
    float: none;
    width: 100%;
    margin: 0 0 12px 0;
    border-radius: 12px;
  }
}



	
	/* ===== Kommentar-Felder: immer gut lesbar ===== */
.fz-comment-form input[type="text"],
.fz-comment-form input[type="email"],
.fz-comment-form input[type="url"],
.fz-comment-form textarea{
  background: #11151b;           /* dunkler Hintergrund */
  color: #ffffff;                 /* helle Schrift */
  caret-color: #ffffff;           /* heller Cursor */
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 12px 14px;
}

/* Platzhalter deutlich sichtbar */
.fz-comment-form input::placeholder,
.fz-comment-form textarea::placeholder{
  color: rgba(255,255,255,.65);
}

/* Fokus-Style (Ring) */
.fz-comment-form input:focus,
.fz-comment-form textarea:focus{
  outline: none;
  border-color: var(--accent, #7b5cff);
  box-shadow: 0 0 0 3px rgba(123,92,255,.35);
}

/* Label über dem Feld, mit Abstand */
.fz-comment-form .fz-label{
  display:block;
  font-weight:600;
  margin: 0 0 8px;
}

/* Safari/Chrome Autofill fix: überschreibe gelben Hintergrund + Textfarbe */
.fz-comment-form input:-webkit-autofill,
.fz-comment-form input:-webkit-autofill:hover,
.fz-comment-form input:-webkit-autofill:focus{
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 0 0 1000px #11151b inset !important;
  transition: background-color 9999s ease-in-out 0s; /* verhindert kurzzeitiges Blitzen */
}

/* Falls ein globales Reset irgendwo Schwarz erzwingt: sichere Farbe */
.fz-comment-form input,
.fz-comment-form textarea{
  color: #ffffff !important;
}

	
	/* =========================
   Kommentar-Felder: Chrome-sicher (helle Variante)
   ========================= */
.fz-comment-form {
  --field-bg: #ffffff;
  --field-fg: #111318;
  --field-border: #E2E5EA;
  --field-ring: #7b5cff; /* dein Akzent */
}

.fz-comment-form .fz-label{
  display:block;
  font-weight:600;
  margin: 0 0 8px;
  color: var(--field-fg);
}

.fz-comment-form input[type="text"],
.fz-comment-form input[type="email"],
.fz-comment-form input[type="url"],
.fz-comment-form textarea{
  background: var(--field-bg) !important;
  color: var(--field-fg) !important;
  caret-color: var(--field-fg) !important;
  border: 1px solid var(--field-border) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  line-height: 1.5 !important;
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box !important; /* verhindert gelbes Chrome-Autofill-Overlay am Rand */
}

.fz-comment-form input::placeholder,
.fz-comment-form textarea::placeholder{
  color: #68707A !important;
}

/* Fokus-Ring */
.fz-comment-form input:focus,
.fz-comment-form textarea:focus{
  outline: none !important;
  border-color: var(--field-ring) !important;
  box-shadow: 0 0 0 3px rgba(123,92,255,.30) !important;
}

/* ---- Chrome/Chromium Autofill fix (stark & spezifisch) ---- */
.fz-comment-form input:-webkit-autofill,
.fz-comment-form input:-webkit-autofill:hover,
.fz-comment-form input:-webkit-autofill:focus,
.fz-comment-form textarea:-webkit-autofill,
.fz-comment-form textarea:-webkit-autofill:hover,
.fz-comment-form textarea:-webkit-autofill:focus{
  -webkit-text-fill-color: var(--field-fg) !important;
  /* Weiß “hineinmalen”, damit kein gelbes Overlay sichtbar ist */
  -webkit-box-shadow: 0 0 0 1000px var(--field-bg) inset !important;
          box-shadow: 0 0 0 1000px var(--field-bg) inset !important;
  transition: background-color 9999s ease, color 9999s ease !important;
}

/* (Optional) Standard-Inputs im Kommentarbereich absichern, falls global was “Schwarzes” greift */
.fz-comments input,
.fz-comments textarea{
  color: var(--field-fg) !important;
  background: var(--field-bg) !important;
}

/* Kleinere Typo-/Abstände für ein luftigeres Formular */
.fz-comment-form .fz-field{ margin: 0 0 14px; }
.fz-comment-form button.button{
  display:inline-block; padding:10px 16px; border-radius:999px;
  background: linear-gradient(135deg, #ff2aa1, #7b5cff);
  color:#fff; border:0; cursor:pointer;
  box-shadow: 0 8px 30px rgba(123,92,255,.25);
}
.fz-comment-form button.button:hover{ opacity:.95; }
	
	
/* =========================
   SHARE BAR – Famez Ghost/Outline Variante
   Opt-in: .fz-sharebar--ghost
   ========================= */
.fz-sharebar--ghost{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 12px;
}

.fz-sharebar--ghost .fz-share-label{
  font-weight:700;
  color:#4b5563;            /* gut lesbar auf weiß */
  margin-right:2px;
}

/* Ghost-Buttons: weißes (oder leicht transparentes) Innenleben + bunter Gradient-Rand */
.fz-sharebar--ghost .fz-share-btn{
  --fz-g1: var(--primary, #ff2aa1);
  --fz-g2: var(--accent,  #7b5cff);
  --fz-inner: #ffffff;      /* Innenfläche auf hellen Sektionen */

  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid transparent;
  background:
    linear-gradient(var(--fz-inner), var(--fz-inner)) padding-box,
    linear-gradient(135deg, var(--fz-g1), var(--fz-g2)) border-box;
  color: #6b4cff;           /* text/icon auf hell: leicht lila */
  font-weight:700;
  font-size:.92rem;
  line-height:1;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .2s ease, opacity .2s ease, background-color .2s ease;
}

.fz-sharebar--ghost .fz-share-btn svg{
  width:18px; height:18px; display:block; flex:0 0 18px;
  /* nutzt currentColor -> folgt Textfarbe */
}

.fz-sharebar--ghost .fz-share-btn:hover{
  transform:translateY(-1px);
  opacity:.96;
  box-shadow:0 10px 24px rgba(123,92,255,.10);
}

.fz-sharebar--ghost .fz-share-btn:active{
  transform:translateY(0);
  opacity:.92;
}

.fz-sharebar--ghost .fz-share-btn:focus-visible{
  outline:2px solid rgba(123,92,255,.35);
  outline-offset:2px;
}

/* Erfolgszustand beim "Link kopieren" → grüner Gradient-Rand */
.fz-sharebar--ghost .fz-share-btn.ok{
  --fz-g1:#10b981; --fz-g2:#34d399;
  color:#0b3a2a;
}

/* ===== Dunkle Sektionen (z.B. Hero auf Dark) ===== */
.section--dark .fz-sharebar--ghost .fz-share-label{ color:#e5e7eb; }

.section--dark .fz-sharebar--ghost .fz-share-btn{
  --fz-inner: rgba(255,255,255,.06); /* leicht transparent, damit „ghosty“ bleibt */
  color:#ffffff;                      /* weiße Schrift/Icons */
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}

.section--dark .fz-sharebar--ghost .fz-share-btn:hover{
  box-shadow:0 14px 32px rgba(0,0,0,.34);
}

/* ===== Kompakte Variante (optional) ===== */
/* <div class="fz-sharebar fz-sharebar--ghost fz-sharebar--sm"> … */
.fz-sharebar--ghost.fz-sharebar--sm .fz-share-btn{
  padding:7px 12px;
  font-size:.88rem;
}

	
	/* Prev/Nächster Beitrag: 2 Karten nebeneinander (Desktop) */
.fz-grid{display:grid;gap:20px;align-items:stretch}
.fz-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Mobil wieder untereinander */
@media (max-width:980px){
  .fz-grid-2{grid-template-columns:1fr}
}

/* Karten sauber strecken */
.fz-navcard{display:flex;flex-direction:column;height:100%}
.fz-navcard .fz-card-media{margin-bottom:10px}
.fz-navcard .fz-card-title{margin:0}
	
	
	
/* Topbar Socials – sichtbar & konsistent */
.topbar-left{display:flex;align-items:center;gap:12px}
.topbar-socials{display:flex;gap:8px;margin:0;padding:0;list-style:none}
.topbar-socials li{list-style:none}

.topbar-social{
  display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:8px;
  color:var(--muted); /* aus deinem Theme */
  text-decoration:none;
  transition:background .2s ease, color .2s ease, opacity .2s ease;
}
.topbar-social svg{width:18px;height:18px;display:block}
.topbar-social:hover{background:rgba(255,255,255,.08);color:#fff}

/* Falls deine Topbar Links zu „unsichtbar“ stylt, setzen wir Sicherheitshalber die Farbe */
.topbar .menu a{color:var(--muted)}
.topbar .menu a:hover{color:#fff;background:rgba(255,255,255,.06)}
