/* Lokal gehostete Schriften (Playfair Display, Source Serif 4 – SIL Open Font License). Keine Verbindung zu Google. */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FBF5EE;
  --cream-2: #F5E9DE;
  --sand: #E8CDB8;
  --rose: #E3B5A6;
  --copper: #C98F7C;
  --copper-dark: #A8705E;
  --ink: #2A2321;
  --ink-soft: #5B4F4A;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 10px 40px rgba(168, 112, 94, .15);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-dark); font-weight: 600; margin-bottom: .8rem;
}
.lead { font-size: 1.25rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--copper-dark); color: var(--white);
  padding: .9rem 1.7rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1.05rem; border: 2px solid var(--copper-dark);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--copper-dark); }
.btn-ghost:hover { color: var(--white); }
.btn-small { padding: .5rem 1.2rem; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--copper-dark); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 238, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 143, 124, .25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; font-family: var(--font-head); font-size: 1.5rem; }
.brand img { width: 68px; height: 68px; flex: none; filter: drop-shadow(0 2px 6px rgba(168, 112, 94, .18)); }
.site-footer .brand img { width: 60px; height: 60px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-size: 1.05rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--copper); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.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); }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden;
  background: radial-gradient(900px 500px at 85% 20%, var(--rose) 0%, transparent 65%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.trust li { background: var(--white); border: 1px solid var(--sand); border-radius: 999px; padding: .35rem 1rem; font-size: .95rem; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-visual { position: relative; }
.arch {
  position: relative;
  border-radius: 999px 999px 24px 24px; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--sand);
  box-shadow: var(--shadow); border: 10px solid var(--white);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
/* Hero: hochkanter Bogen (4:5), Ausschnitt so gelegt, dass Hände und Kerze sichtbar sind */
.arch-hero { aspect-ratio: 4 / 5; }
.arch-hero img { object-position: 28% 50%; }
/* Fallback für ältere Browser ohne aspect-ratio (z. B. iOS 14, Safari 14): Padding-Trick */
@supports not (aspect-ratio: 1 / 1) {
  .arch::before { content: ""; display: block; padding-top: 133.333%; }
  .arch-hero::before { padding-top: 125%; }
  .arch img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}
.dot { position: absolute; top: 6%; right: -4%; width: 38px; height: 38px; border-radius: 50%; background: var(--rose); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.section-head { max-width: 700px; margin: 0 auto 3rem; text-align: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem;
  border: 1px solid var(--sand); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.icon { width: 44px; height: 44px; fill: none; stroke: var(--copper-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.panel { background: var(--white); border-radius: var(--radius) var(--radius) var(--radius) var(--radius); padding: 2.4rem; box-shadow: var(--shadow); border-top: 6px solid var(--copper); }
.panel-alt { background: linear-gradient(160deg, #F7E3D8, var(--white)); border-top-color: var(--rose); }
.badge { display: inline-block; background: var(--cream-2); color: var(--copper-dark); font-weight: 600; font-size: .85rem; padding: .25rem .9rem; border-radius: 999px; margin-bottom: .8rem; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { position: relative; padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid var(--cream-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1rem; width: 1.2rem; height: 1.2rem;
  border-radius: 50%; background: var(--rose); border: 4px solid var(--copper);
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.steps li { text-align: center; padding: 0 1rem; }
.steps p { color: var(--ink-soft); }
.step-no {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: var(--sand); color: var(--copper-dark);
  font-family: var(--font-head); font-size: 1.8rem; border: 3px solid var(--white); box-shadow: var(--shadow);
}

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.about-photo { position: relative; width: min(380px, 100%); margin: 0 auto; }
.about-photo .dot { top: auto; bottom: 8%; left: -5%; right: auto; width: 30px; height: 30px; }
blockquote {
  margin: 1.5rem 0 0; padding: 1.2rem 1.6rem; border-left: 4px solid var(--copper);
  background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: 1.3rem; line-height: 1.5;
}

/* Team-Karussell */
.carousel { position: relative; }
.carousel-track {
  list-style: none; margin: 0; padding: .5rem .25rem 1rem;
  display: flex; gap: 1.6rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.team-card {
  flex: 0 0 calc((100% - 3.2rem) / 3); min-width: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.8rem; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .arch { border-width: 6px; margin-bottom: 1.2rem; }
.team-card .arch img { object-position: center 30%; }
.team-card h3 { margin-bottom: .25rem; }
.team-role { color: var(--copper-dark); font-weight: 600; font-size: .98rem; margin-bottom: .7rem; }
.team-card p:last-child { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

.carousel-btn {
  -webkit-appearance: none; appearance: none;
  position: absolute; top: 38%; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white);
  background: var(--copper-dark); color: var(--white); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: background .2s, opacity .2s, transform .2s;
}
.carousel-btn:hover { background: var(--ink); transform: scale(1.06); }
.carousel-btn[disabled] { opacity: .35; cursor: default; transform: none; }
.carousel-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel-prev { left: -26px; }
.carousel-next { right: -26px; }

.carousel-dots { display: flex; justify-content: center; gap: .6rem; margin-top: .4rem; }
.carousel-dots button {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--sand); transition: background .2s, transform .2s;
}
.carousel-dots button[aria-selected="true"] { background: var(--copper-dark); transform: scale(1.25); }

@media (max-width: 900px) {
  .team-card { flex-basis: calc((100% - 1.6rem) / 2); }
  .carousel-btn { display: none; }
}
@media (max-width: 600px) {
  .team-card { flex-basis: 86%; }
}

/* Contact */
.contact { padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact-card {
  background: linear-gradient(160deg, var(--rose), var(--copper));
  border-radius: 999px 999px var(--radius) var(--radius) / 220px 220px var(--radius) var(--radius);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  color: var(--ink); box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: var(--ink); }
.contact-card .lead { color: var(--ink); }
.contact-card .section-head { margin-bottom: 2rem; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.pill {
  display: flex; flex-direction: column; align-items: center; min-width: 240px;
  border: 2px solid rgba(255, 255, 255, .75); border-radius: 999px; padding: .8rem 2rem;
  text-decoration: none; font-weight: 600; background: rgba(255, 255, 255, .15);
  transition: background .2s, transform .2s;
}
.pill:hover { background: var(--white); transform: translateY(-3px); }
.pill span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 400; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream-2); padding: 2.5rem 0; font-size: .98rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.4rem; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

/* Call button (mobile) */
.call-fab {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: var(--copper-dark);
  place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.call-fab svg { width: 28px; height: 28px; fill: var(--white); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4) { transition-delay: .3s; }
.cards .reveal:nth-child(5) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .service-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .call-fab { display: grid; }
  .nav-toggle { display: block; }
  .header-inner { height: auto; min-height: 76px; padding: .4rem 0; }
  .brand { font-size: 1.2rem; line-height: 1.15; gap: .7rem; }
  .brand img { width: 56px; height: 56px; }
  html { scroll-padding-top: 88px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 420px; }
  .nav a { padding: 1rem 1.5rem; width: 100%; text-align: center; }
  .nav .btn { width: auto; margin: .5rem 0 1.2rem; }
  .contact-card { border-radius: 999px 999px var(--radius) var(--radius) / 120px 120px var(--radius) var(--radius); }
}

/* Overflow-Schutz */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
.hero-grid > *, .about-grid > *, .service-grid > * { min-width: 0; }
.carousel { max-width: 100%; }

/* Kontaktformular */
.form {
  max-width: 680px; margin: 2.5rem auto 0; background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); text-align: left;
  display: grid; gap: 1.1rem; box-shadow: var(--shadow);
}
.form label { display: grid; gap: .35rem; font-size: 1rem; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  -webkit-appearance: none; appearance: none;
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  padding: .8rem 1rem; border: 2px solid var(--sand); border-radius: 14px; background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--copper-dark); box-shadow: 0 0 0 4px rgba(201, 143, 124, .25); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #b3261e; }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; font-weight: 400; font-size: .95rem; color: var(--ink-soft); }
.form .check input { width: 22px; height: 22px; margin-top: .2rem; accent-color: var(--copper-dark); }
.form .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #2e6b3a; }
.form-status.err { color: #b3261e; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { padding: 2.5rem 0 4rem; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal a { color: var(--copper-dark); }
.legal mark { background: #fff1a8; padding: 0 .3em; border-radius: 4px; }
.legal .notice { background: #fff8d6; border: 1px solid #e8d675; border-radius: 14px; padding: 1rem 1.2rem; font-size: 1rem; }
.legal .back { display: inline-block; margin-bottom: 1.5rem; }
