/* ==========================================================================
   Praxis Hoffmann-Schiffer
   Eigenständiges Stylesheet – ersetzt Avada/Fusion Builder.

   ANPASSEN: Farben und Schriften stehen komplett im Block :root.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften
   Die Dateien liegen in /assets/fonts/. Fehlen sie, greift automatisch der
   Fallback (siehe README, Abschnitt „Schriften"). Es wird NICHTS von
   Google-Servern nachgeladen.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Yellowtail";
  src: url("../fonts/yellowtail-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Farben ----------------------------------------------------------- */
  --green:        #a8c09a;   /* Salbeigrün: Flächen, Buttons, aktives Menü  */
  --green-light:  #b6cbab;   /* Grün +5 % Helligkeit: Bögen, Zertifikate    */
  --green-text:   #a8c09a;   /* Menü- und Footerlinks                       */
  --gold:         #c8a22c;   /* Seitentitel und Abschnittsüberschriften     */
  --dark:         #4d4d4d;   /* dunkle Überschriften                        */
  --text:         #5a5a5a;   /* Fließtext                                   */
  --muted:        #8a8a8a;
  --line:         #d9d9d9;   /* Trennlinien, Formularrahmen                 */
  --deco:         #f6f6f6;   /* großer Deko-Kreis im Hintergrund            */
  --banner-bg:    #fafafa;   /* Seitentitel-Band                            */
  --banner-line:  #f0f0f0;   /* Streifen im Seitentitel-Band                */
  --ornament:     #cdb098;   /* beiges Zierelement                          */
  --white:        #ffffff;

  /* --- Schriften -------------------------------------------------------- */
  --font-script: "Yellowtail", "Brush Script MT", "Segoe Script", cursive;
  --font-body:   "Mulish", "Muli", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* --- Maße ------------------------------------------------------------- */
  --container: 1100px;

  /* --- Hintergrundbild Startseite --------------------------------------- */
  --hero-bg: url("/wp-content/uploads/2024/11/22769838-aquarell-eukalyptus-blatter-rand-zum-hochzeit-geburtstag-karte-hintergrund-einladung-hintergrund-aufkleber-dekoration-usw-vektor.jpg");
}

/* ==========================================================================
   Reset / Basis
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

main { flex: 1 0 auto; }

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

a { color: var(--green); text-decoration: none; transition: color .25s ease; }
a:hover, a:focus-visible { color: var(--gold); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Typografie
   ========================================================================== */

h1, h2, h3 {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 .25em;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem,   4.2vw, 3.4rem); }
h3 { font-size: clamp(1.7rem, 3vw,   2.4rem); }

h4 {
  font-family: var(--font-body);
  font-size: 1.13rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
  margin: 0 0 .5em;
}

/* Farbvarianten der Überschriften */
.h-gold  { color: var(--gold); }
.h-dark  { color: var(--dark); }
.h-white { color: var(--white); }

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }

blockquote {
  margin: 0 0 1.6em;
  padding: 26px 30px;
  background: #f1f1f1;
  border-left: 3px solid var(--line);
  font-style: italic;
  color: var(--text);
}
blockquote p { margin-bottom: 1em; }
blockquote p:last-child { margin-bottom: 0; font-size: .95em; }

ul, ol { margin: 0 0 1.3em; padding-left: 1.2em; }
li { margin-bottom: .3em; }

/* ==========================================================================
   Layout
   ========================================================================== */

.container { max-width: var(--container); margin: 0 auto; width: 100%; }

.section { position: relative; padding: 70px 20px; }
.section--green { background: var(--green); color: var(--white); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }
.section--green a { color: var(--white); text-decoration: underline; }
.section--tight { padding-bottom: 0; }

/* Großer, sehr heller Kreis im Hintergrund (wie im Original) */
.section--deco { overflow: hidden; }
.section--deco::before {
  content: "";
  position: absolute;
  right: -22%;
  top: -6%;
  width: 62vw;
  height: 62vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: var(--deco);
  z-index: 0;
}
@media (max-width: 899px) { .section--deco::before { display: none; } }
.section--deco > .container { position: relative; z-index: 1; }

.row { display: flex; flex-wrap: wrap; align-items: stretch; }
.row--center { justify-content: center; }
.row--top    { align-items: flex-start; }

.col { width: 100%; margin-bottom: 15px; }
.col--pad { padding-left: 30px; padding-right: 30px; }
.col--center { display: flex; flex-direction: column; justify-content: center; }

@media (min-width: 900px) {
  .col-1-2 { width: 50%; }
  .col-2-5 { width: 40%; }
  .col-3-5 { width: 60%; }
  .col-4-5 { width: 80%; }
  .col-1-1 { width: 100%; }
}

.text-center { text-align: center; }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Trennlinie unter Überschriften */
.sep {
  width: 80px; height: 1px; border: 0;
  background: var(--line);
  margin: 0 auto 32px;
}
.sep--green { background: var(--green); }
.sep--light { background: rgba(255,255,255,.75); }

/* Zierelement */
.ornament {
  width: 32px; height: 46px;
  margin: 0 auto 18px;
  color: var(--ornament);
  display: block;
}
.ornament--lg { width: 46px; height: 64px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 104px;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo img { height: 66px; width: auto; object-fit: contain; }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }

.main-nav a {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-text);
  padding: 14px 18px;
  transition: background .25s ease, color .25s ease;
}
.main-nav a:hover { color: var(--gold); }

/* Aktiver Menüpunkt: grüner Kasten mit dunkler Schrift */
.main-nav a.is-active {
  background: var(--green);
  color: var(--dark);
}

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--green); margin: 4px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 979px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 78px; padding: 10px 20px; }
  .site-logo img { height: 50px; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.06);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.is-open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 6px 20px 18px; }
  .main-nav li { border-bottom: 1px solid #f0f0f0; }
  .main-nav a { padding: 14px 10px; }
}

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 30px;
  background-image: var(--hero-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  text-align: center;
}
.hero h1 { color: var(--dark); margin-bottom: .1em; }
.hero h2 {
  color: var(--dark);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 899px) {
  .hero { min-height: 62vh; padding: 60px 22px; }
}

/* ==========================================================================
   Seitentitel-Band (alle Unterseiten)
   ========================================================================== */

.page-banner {
  background-color: var(--banner-bg);
  background-image: repeating-linear-gradient(
    -45deg,
    var(--banner-line) 0 1px,
    transparent 1px 7px
  );
  padding: 78px 20px;
  text-align: center;
}
.page-banner h1 { color: var(--gold); margin: 0; }

@media (max-width: 899px) {
  .page-banner { padding: 48px 20px; }
}

/* ==========================================================================
   Bogen-Abschluss grüner Flächen (Avada "rounded split")
   ========================================================================== */

.arch {
  display: block;
  width: 100%;
  height: 118px;
  background: var(--green);
}
.arch svg { display: block; width: 100%; height: 100%; }
.arch svg path { fill: var(--green-light); }

@media (max-width: 899px) {
  .arch { height: 64px; }
}

/* ==========================================================================
   Startseite: Zitat
   ========================================================================== */

.quote { font-style: italic; max-width: 46ch; margin: 0 auto 30px; }
.quote-author {
  font-style: italic;
  color: var(--green);
  margin: 0;
}

/* ==========================================================================
   Preise
   ========================================================================== */

.price-card { text-align: center; padding: 20px 40px; }
.price-card h4 { margin: 18px 0 0; }
.price-card .sep { margin: 16px auto; }
.price-card .price { margin: 0; }

.price-note { text-align: center; font-style: italic; padding: 30px 20px 0; }
.price-note p { margin-bottom: .8em; }

/* ==========================================================================
   Checkliste
   ========================================================================== */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.checklist .icon-circle {
  position: absolute; left: 0; top: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.checklist .icon-circle svg { width: 11px; height: 11px; color: var(--green); }

/* ==========================================================================
   Über mich
   ========================================================================== */

.portrait { margin: 0 auto 28px; }

.role { text-align: center; color: var(--green); font-style: italic; margin: 0; }

/* Zertifikat im Bogenrahmen */
.cert { padding: 0 6%; margin-bottom: 26px; }
.cert-frame {
  background: var(--green-light);
  border-radius: 50% 50% 50% 50% / 9% 9% 9% 9%;
  padding: 38px 34px;
  max-width: 420px;
  margin: 0 auto;
}
.cert-frame img {
  width: 100%;
  aspect-ratio: 100 / 130;
  object-fit: cover;
  object-position: center top;
}
.cert-frame--offset img { object-position: 67% 49%; }

@media (max-width: 899px) {
  .cert-frame { padding: 30px 22px; }
}

/* ==========================================================================
   Karte
   ========================================================================== */

.map-wrap { width: 100%; }
.map-wrap iframe { display: block; width: 100%; height: 450px; border: 0; }

.map-consent {
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 30px;
  background: #eef2ea;
  border: 1px solid var(--line);
  color: var(--text);
}
.map-consent p { max-width: 46ch; margin: 0; font-size: .9rem; }
.section--green .map-consent { color: var(--text); }
.section--green .map-consent a { color: var(--green); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  border: 0;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 34px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible { background: var(--dark); color: var(--white); text-decoration: none; }
.btn--block { display: block; width: 100%; }

.section--green .btn { background: var(--white); color: var(--dark); }
.section--green .btn:hover { background: var(--dark); color: var(--white); }

/* ==========================================================================
   Kontaktformular
   ========================================================================== */

.contact-form .field { margin-bottom: 16px; }

.contact-form label {
  display: block;
  font-size: .93rem;
  color: var(--text);
  margin-bottom: 7px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
  transition: border-color .2s ease;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--green); }

.contact-form .field--error input,
.contact-form .field--error textarea { border-color: #b4453c; }

.field-error { display: block; color: #b4453c; font-size: .82rem; margin-top: 5px; }

.consent { display: flex; gap: 9px; align-items: flex-start; }
.consent input { margin-top: 7px; flex: 0 0 auto; }
.consent label { font-size: .93rem; line-height: 1.6; margin: 0; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  padding: 14px 18px;
  margin-bottom: 20px;
  border-left: 3px solid;
  font-size: .93rem;
}
.form-note--ok    { border-color: var(--green); background: #eef2ea; }
.form-note--error { border-color: #b4453c; background: #fbeeed; color: #7d2f28; }

/* ==========================================================================
   Rechtstexte
   ========================================================================== */

.legal { max-width: 860px; margin: 0 auto; padding: 60px 20px 80px; }
.legal h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 2.2em;
}
.legal h4 { margin-top: 2em; }
.legal .logo-swm { max-width: 250px; margin: 12px 0 18px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--white); padding: 46px 20px 30px; }

.footer-inner { max-width: var(--container); margin: 0 auto; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 34px;
}
.footer-logo img { height: 74px; width: auto; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 34px; }
.footer-nav a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-text);
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.footer-copy a { color: var(--green); }

@media (max-width: 899px) {
  .footer-top { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; gap: 20px; }
}

/* ==========================================================================
   Nach-oben-Button
   ========================================================================== */

.to-top {
  position: fixed;
  right: 0; bottom: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #1d1d1d;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: #000; }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Einblend-Animation
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   404
   ========================================================================== */

.error-page { text-align: center; padding: 90px 20px 120px; }
