/* Potthast Energieberatung — Website Styles */

/* Schriftarten lokal eingebunden (selbst gehostet, keine Verbindung zu Google-Servern) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

:root {
  --color-bg: #f6f4f0;
  --color-bg-alt: #eeebe4;
  --color-surface: #ffffff;
  --color-primary: #1f3b3d;
  --color-primary-dark: #142627;
  --color-accent: #d98a2b;
  --color-accent-dark: #b36b1e;
  --color-text: #232a2a;
  --color-text-muted: #57615f;
  --color-border: #ddd7cc;
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", Arial, Helvetica, sans-serif;
  --max-width: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.brand .brand-logo-compact { display: none; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
}

nav.main-nav a:hover { color: var(--color-accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 88px 0 76px;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero .container {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-text { max-width: 50ch; }

.hero-illustration img {
  width: 100%;
  border-radius: 10px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--color-primary-dark);
  text-wrap: balance;
  max-width: 16ch;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0 0 28px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); }

.hero-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Trust bar */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: 20px 24px;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.trust-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--color-accent-dark);
}

/* Sections */
section { padding: 72px 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--color-primary-dark);
  margin: 0 0 12px;
  text-wrap: balance;
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 0 44px;
  font-size: 1.05rem;
}

/* Dezenter Hinweistext (z. B. "ohne Gewähr") innerhalb normaler Seitenabschnitte —
   bewusst schlicht gehalten, nicht die auffällige Kasten-Optik der .legal-page .note */
.section-note {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin: -32px 0 32px;
}

/* Leistungen */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.leistung-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 28px 26px;
}

.leistung-card .icon {
  width: 42px;
  height: 42px;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}

.leistung-card .num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}

.leistung-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 10px 0 10px;
  color: var(--color-primary-dark);
}

.leistung-card p {
  color: var(--color-text-muted);
  font-size: 0.97rem;
  margin: 0;
}

/* Ablauf */
.ablauf {
  background: var(--color-bg-alt);
}

.ablauf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.ablauf-step {
  position: relative;
  padding-top: 6px;
}

.ablauf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(100% - 8px);
  width: calc(100% - 4px);
  height: 2px;
  background: var(--color-border);
  display: none;
}

@media (min-width: 861px) {
  .ablauf-step:not(:last-child)::after { display: block; }
}

.ablauf-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.ablauf-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--color-primary-dark);
}

.ablauf-step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Ueber mich */
.ueber-mich {
  background: var(--color-primary);
  color: #f2efe8;
}
.ueber-mich .section-title,
.ueber-mich .section-intro { color: #f2efe8; }
.ueber-mich .section-intro { opacity: 0.82; }

.ueber-mich-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}

.portrait-wrap img {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
}

.ueber-mich-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 4px;
}

.ueber-mich-body .rolle {
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 18px;
  font-size: 0.98rem;
}

.ueber-mich-body p { opacity: 0.92; }

.fact-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fact-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.96rem;
  opacity: 0.92;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 26px;
}

.faq-item summary {
  padding: 18px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent-dark);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 0.97rem;
}

/* Kontakt */
.kontakt-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 40px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.kontakt-box > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kontakt-box h3 {
  font-family: var(--font-heading);
  margin: 0 0 10px;
  color: var(--color-primary-dark);
}

.kontakt-box address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.kontakt-box a.email-link {
  font-weight: 700;
  font-size: 1.05rem;
}

.telefon-info {
  margin: 6px 0 0;
  font-size: 0.98rem;
}

.telefon-info a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.telefon-info a:hover { color: var(--color-accent-dark); }

.startnotiz {
  display: inline-block;
  margin-top: 18px;
  margin-left: -14px;
  padding: 6px 14px;
  background: var(--color-bg-alt);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.einzugsgebiet {
  margin-top: 24px;
}

.einzugsgebiet h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin: 0 0 12px;
  color: var(--color-primary-dark);
}

.einzugsgebiet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Kontaktformular */
.kontakt-form {
  margin-top: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 32px;
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.form-row { display: grid; gap: 6px; }

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.form-row textarea { resize: vertical; }

.form-row-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-text-muted);
}
.checkbox-label input { margin-top: 3px; }

.kontakt-form .btn { justify-self: start; }

.form-banner {
  max-width: 560px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-banner-success {
  background: #e5f0e6;
  color: #1f5c2c;
  border: 1px solid #bcdcc0;
}
.form-banner-error {
  background: #f7e6e0;
  color: #8a3b1c;
  border: 1px solid #e6c3b3;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin-left: 18px;
}
footer.site-footer a:hover { color: var(--color-primary-dark); }

/* Legal pages */
.legal-page main {
  padding: 56px 0 80px;
}
.legal-page h1 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-size: 2rem;
  margin-bottom: 28px;
}
.legal-page h2 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  margin: 34px 0 10px;
}
.legal-page p, .legal-page li { color: var(--color-text); }
.legal-page .note {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.legal-page .widerruf-formular {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 14px;
}
.legal-page .widerruf-formular p { margin: 10px 0; }
.legal-page .widerruf-formular .note { background: none; border: none; padding: 0; margin: 14px 0 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; max-width: 340px; margin: 0 auto; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 20px rgba(20, 38, 39, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.2s ease, opacity 0.15s ease;
  }

  nav.main-nav.is-open {
    max-height: min(520px, calc(100vh - 64px));
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
  }

  nav.main-nav a {
    padding: 15px 24px;
    border-top: 1px solid var(--color-border);
    font-size: 1.02rem;
  }
}

@media (max-width: 720px) {
  .ueber-mich-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 200px; }
  .kontakt-box { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 640px) {
  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .brand img { height: 42px; }
}

@media (max-width: 340px) {
  .brand img { height: 34px; }
}

/* Schwebender Schnellkontakt */
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
  z-index: 60;
}

.fc-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(20, 38, 39, 0.28);
  /* Weißer Rand, damit der Button auf JEDEM Seitenhintergrund (hell oder
     dunkel) sichtbar bleibt, statt sich z. B. dunkel-auf-dunkel zu verlieren. */
  border: 3px solid #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 38, 39, 0.34);
}

.fc-whatsapp { background: #25d366; }
.fc-call { background: var(--color-primary); }

/* Foto-Button, der WhatsApp/Telefon aufklappt (nur mobil, siehe unten) */
.fc-trigger {
  position: relative;
  /* 20% größer als die übrigen fc-btn (WhatsApp/Telefon), auf eigenen
     Wunsch — Foto-Button soll als Hauptelement etwas dominanter wirken. */
  width: 65px;
  height: 65px;
  padding: 0;
  background: var(--color-surface);
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
  /* Button ist per Antippen/Ziehen verschiebbar (siehe Skript unten) —
     touch-action: none verhindert, dass mobile Browser eine Bewegung auf
     dem Button als Seiten-Scroll statt als Ziehgeste interpretieren. */
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
  /* Eigener, dünner Rand in der Website-Akzentfarbe (Orange) statt des
     weißen .fc-btn-Rands — und ein deutlich leichterer Schatten: der
     normale .fc-btn-Schatten ist dunkel genug, dass er beim Verdoppeln
     (siehe .fc-open unten) wie ein schwarzer Ring um das Porträt wirkt. */
  border: 2px solid var(--color-accent);
  box-shadow: 0 3px 8px rgba(20, 38, 39, 0.16);
  /* Eigene, etwas "federnde" Übergangskurve fürs Aufklappen (siehe unten),
     löst die normale .fc-btn-Transition für transform gezielt ab. */
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
  z-index: 1;
}

.fc-trigger:hover {
  /* Überschreibt .fc-btn:hover — dessen kräftigerer Schatten würde beim
     vergrößerten Porträt genau den unerwünschten dunklen Ring erzeugen. */
  box-shadow: 0 4px 10px rgba(20, 38, 39, 0.2);
}

/* Beim Aufklappen (WhatsApp/Telefon werden sichtbar) wird das Porträt
   selbst doppelt so groß — wächst symmetrisch aus der Mitte, zieht sich
   beim erneuten Antippen wieder auf Normalgröße zusammen. z-index sorgt
   dafür, dass das vergrößerte Foto über WhatsApp/Telefon-Button liegt,
   statt dahinter abgeschnitten zu wirken. Schatten bleibt bewusst sehr
   leicht, da er durch die Skalierung optisch mitwächst. */
.floating-contact.fc-open .fc-trigger {
  transform: scale(2);
  z-index: 2;
  box-shadow: 0 2px 5px rgba(20, 38, 39, 0.14);
}

.fc-trigger-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Während des Ziehens: Cursor als "greifend" anzeigen, Hover-/Schatten-
   Übergänge kurz abschalten, damit die Bewegung nicht hinterherhinkt. */
.floating-contact.fc-dragging .fc-trigger { cursor: grabbing; }
.floating-contact.fc-dragging .fc-btn { transition: none; }

.fc-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  /* 20% größer als vorher (22px → 26px) */
  width: 26px;
  height: 26px;
  border-radius: 50%;
  /* Klassisches WhatsApp-Grün statt generischer Akzentfarbe, mit gefülltem
     (nicht nur umrandetem) Icon — soll auf den ersten Blick als WhatsApp
     erkennbar sein. */
  background: #25d366;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

/* Beim Aufklappen verschwindet das kleine, feste WhatsApp-Abzeichen auf dem
   Porträt wieder — es wird ja in dem Moment durch den echten, großen
   WhatsApp-Button ersetzt, der dann um das Foto herum erscheint. */
.floating-contact.fc-open .fc-badge {
  opacity: 0;
  transform: scale(0.4);
}

/* Desktop: unverändert wie bisher — nur WhatsApp sichtbar, kein Foto-Button,
   kein Aufklappen. display:contents löst den .fc-sub-Wrapper auf, sodass
   WhatsApp/Telefon direkt wieder Kinder von .floating-contact sind. */
.fc-sub { display: contents; }

/* Anruf-Button auf dem Desktop ausblenden: tel:-Links funktionieren dort
   nicht zuverlässig (Browser kennen das Protokoll meist nicht), WhatsApp
   (wa.me) funktioniert dagegen auch am Desktop über WhatsApp Web. */
@media (min-width: 781px) {
  .fc-call { display: none; }
  .fc-trigger { display: none; }
}

/* Mobil: Foto-Button ersetzt die beiden Buttons; antippen klappt sie auf.
   Standardposition: unten rechts in der Ecke (wie gehabt) — bis der
   Besucher den Button selbst per Ziehen woanders platziert (siehe Skript
   unten, das dann left/top setzt und die right/bottom-Werte überschreibt). */
@media (max-width: 780px) {
  /* .fc-sub deckt genau die (unvergrößerte) Fläche des Foto-Buttons ab und
     dient nur noch als Bezugspunkt — die beiden Buttons darin werden
     einzeln, absolut positioniert und schwingen beim Aufklappen in einem
     Bogen oberhalb/links um das Porträt herum, statt sich darüber zu
     stapeln. pointer-events:none, damit der unsichtbare Rest der Fläche
     nicht die Klicks auf den Foto-Button darunter blockiert. */
  .fc-sub {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .fc-sub .fc-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -27px 0 0 -27px;
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .floating-contact.fc-open .fc-sub .fc-btn {
    opacity: 1;
    pointer-events: auto;
  }
  /* Bogen-Positionen (Mittelpunkt = Mitte des Foto-Buttons): Hörer knapp
     links oben, WhatsApp weiter links auf halber Höhe — legt sich halbrund
     um das vergrößerte Porträt, ohne den Hörer zu verdecken. */
  .floating-contact.fc-open .fc-sub .fc-call {
    transform: translate(-19px, -106px) scale(1);
  }
  .floating-contact.fc-open .fc-sub .fc-whatsapp {
    transform: translate(-102px, -37px) scale(1);
  }
}

@media (max-width: 480px) {
  .floating-contact { right: 14px; bottom: 14px; gap: 10px; }
  .fc-btn { width: 48px; height: 48px; }
  .fc-trigger { width: 58px; height: 58px; }
  .fc-sub .fc-btn { margin: -24px 0 0 -24px; }
  .floating-contact.fc-open .fc-sub .fc-call {
    transform: translate(-16px, -93px) scale(1);
  }
  .floating-contact.fc-open .fc-sub .fc-whatsapp {
    transform: translate(-88px, -32px) scale(1);
  }
}
