/* VERSION: 2025-12-27 23:59 - GOLD TEST */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #fbfbfa;          /* Off-White */
  --surface: #ffffff;
  --text: #14161a;        /* Anthrazit */
  --muted: #5f6670;
  --gold: #c7a24a;        /* Gold-Akzent */
  --line: rgba(20,22,26,.10);
  --shadow: 0 10px 30px rgba(20,22,26,.06);
  --radius: 20px;
  --max: 1040px;
}

/* Reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
a:hover{opacity:.94}

/* Layout */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 18px 72px;
}

/* Topbar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 18px 0 18px;
  border-bottom: 1px solid var(--line);
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 240px;
}
.brand img{
  height: 46px;
  width:auto;
}
.brand .name{
  font-weight: 600;
  letter-spacing:.02em;
}
.brand .sub{
  color: var(--muted);
  font-size: .95rem;
  margin-top: 2px;
}

/* Pill */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
  color: var(--muted);
  white-space:nowrap;
}
.pill .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,162,74,.12);
}

/* Hero */
.hero{ padding: 38px 0 22px; }
.kicker{
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 10px 0 12px;
}
.lead{
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}
.goldline{
  width: 86px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  margin-top: 16px;
}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h2{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 10px;
  position: relative;
  padding-left: 14px;
}
/* Goldpunkt vor Überschriften – sehr fein */
.card h2::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,162,74,.12);
}

/* Text */
.small{color: var(--muted); font-size: .95rem}
.sep{
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.list{
  margin: 0;
  padding-left: 18px;
}
.list li{margin: 8px 0}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .grid{grid-template-columns: 1fr}
}

/* Tags / Badges */
.tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border: 1px solid rgba(199,162,74,.22);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-size:.95rem;
  margin-right:10px;
  margin-top:10px;
  white-space:nowrap;
}
.tag .dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,162,74,.12);
}

/* Tiles (Pflegepläne) */
.tiles{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 980px){
  .tiles{grid-template-columns: 1fr}
}
.tile{
  display:block;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.96));
  position: relative;
}

/* ✅ DAS ist die schöne Goldlinie, die du meintest */
.tiles .tile{
  border-left: 3px solid rgba(199,162,74,.45);
  padding-left: 14px;
}
.tiles .tile:hover{
  border-left-color: rgba(199,162,74,.80);
  transform: translateY(-1px);
  transition: transform .08s ease;
}

/* zarte goldene Umrandung (sehr fein) */
.tile::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  border: 1px solid rgba(199,162,74,.14);
  pointer-events:none;
}
.tile:hover::before{
  border-color: rgba(199,162,74,.35);
  box-shadow: 0 14px 40px rgba(20,22,26,.10);
}

/* Goldpunkt oben rechts */
.tile::after{
  content:"";
  position:absolute;
  right:14px;
  top:14px;
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,162,74,.12);
  opacity:.9;
}

.tile .t-title{
  font-weight: 600;
  letter-spacing:.01em;
}
.tile .t-sub{
  color: var(--muted);
  margin-top: 6px;
  font-size: .95rem;
}

/* Button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(199,162,74,.35);
  background: linear-gradient(180deg, rgba(199,162,74,1), rgba(178,140,52,1));
  color: #121212;
  font-weight: 600;
  cursor:pointer;
}
.btn:hover{filter: brightness(1.02)}
.btn:active{transform: translateY(1px)}

/* Forms */
form{
  display:grid;
  gap:10px;
  margin-top:10px;
}
input, select, textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font:inherit;
}
textarea{min-height:90px; resize:vertical}

/* Locations as cards */
.locations{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .locations{grid-template-columns:1fr;}
}
.loc-card{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.72);
}
.loc-card .loc-title{
  font-weight: 600;
  margin-bottom: 6px;
}
.loc-card a{
  text-decoration: underline;
  text-decoration-color: rgba(199,162,74,.55);
  text-underline-offset: 3px;
}

/* Footer */
.footer{
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display:grid;
  gap: 10px;
  font-size: .95rem;
}
.footer a{
  text-decoration: underline;
  text-decoration-color: rgba(199,162,74,.55);
  text-underline-offset: 3px;
}
/* Outline-Button Variante: weniger Gold, mehr Luxus */
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid rgba(199,162,74,.70);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor:pointer;
}

.btn-outline:hover{
  background: rgba(199,162,74,.08);
}

.btn-outline:active{
  transform: translateY(1px);
}
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid rgba(199,162,74,.70);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor:pointer;
}
.btn-outline:hover{ background: rgba(199,162,74,.08); }
.btn-outline:active{ transform: translateY(1px); }
/* Erfolgs- & Statusmeldungen – Premium */
.status-success{
  display:none;
  margin-top:14px;
  padding:16px 18px;
  border-radius:18px;
  border: 2px solid rgba(199,162,74,.55);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.95),
    rgba(199,162,74,.08)
  );
  color: var(--text);
  font-weight: 500;
}

.status-success::before{
  content:"✓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background: var(--gold);
  color:#121212;
  font-weight:700;
  margin-right:10px;
  box-shadow: 0 0 0 4px rgba(199,162,74,.18);
}
/* --- STARTSEITE: Abschnitts-Trennung + Gold-Welle --- */
.section-band{
  position: relative;
  padding: 34px 0;
}

.section-band.bg-soft{
  background: #f6f5f3; /* warmes hellgrau */
}

.wave-sep{
  position: relative;
  height: 90px;
  margin: 18px 0 10px;
}

.wave-sep svg{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100%);
  height: 90px;
  display: block;
  opacity: .9;
}

.wave-sep .wave-stroke{
  stroke: rgba(199,162,74,.35);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 18px rgba(20,22,26,.06));
}

/* Wow: Goldwelle zeichnet sich beim Laden weich auf (nur Startseite) */
.wave-sep.animate .wave-stroke{
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: waveDraw 1.2s ease forwards;
  animation-delay: .25s;
}

@keyframes waveDraw{
  to{ stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce){
  .wave-sep.animate .wave-stroke{
    animation:none !important;
    stroke-dashoffset: 0 !important;
  }
}
/* Abschnitts-Bänder (für Startseite) */
.section-band{
  position: relative;
  padding: 34px 0;
}

.section-band.bg-soft{
  background: #f6f5f3; /* warmes hellgrau */
}
/* Full-bleed Wave (luxury) */
.wave-bleed{
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-bleed svg{
  width: 100vw;           /* wirklich ganze Viewport-Breite */
  height: 140px;
  display: block;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wave-fill-soft{ fill: #f6f5f3; }

.wave-stroke-lux{
  fill: none;
  stroke: url(#goldGrad);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 22px rgba(20,22,26,.08));
  opacity: .95;
}

@media (max-width: 600px){
  .wave-bleed svg{ height: 110px; }
  .wave-stroke-lux{ stroke-width: 3.2; }
}
@media (max-width: 820px){
  .tiles{ grid-template-columns: 1fr !important; }
  .locations{ grid-template-columns: 1fr !important; }
}

@media (max-width: 600px){
  .topbar{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-links{ justify-content: flex-start; }
}
/* LOGO – Größe & Präsenz */
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img{
  height: 64px;        /* vorher vermutlich ~36–40px */
  width: auto;
}

.brand .name{
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.brand .sub{
  font-size: .95rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Tablet */
@media (max-width: 980px){
  .brand img{
    height: 56px;
  }
}

/* Mobile */
@media (max-width: 600px){
  .brand img{
    height: 48px;
  }
}
/* --- Fix: Naht bei SVG-Wellen (Subpixel/Anti-Aliasing) --- */
.wave-bleed{
  position: relative;
  margin: 0;
  z-index: 2;
}

/* 1–2px Überlappung, damit keine Kante sichtbar bleibt */
.wave-bleed.overlap-next{
  margin-bottom: -2px;
}

.soft-area.overlap-prev{
  margin-top: -2px;
}

/* Für den weißen Bereich nach der Soft-Area */
.white-area.overlap-prev{
  margin-top: -2px;
}
