/* ==========================================================================
   Dr. med. Attila Markus — Entwurf "Ruhepunkt"
   Ein eigenständiger Gestaltungsvorschlag: ruhiges Olivgrün, ein
   charaktervoller Serif (Fraunces) statt generischer Wellness-Schrift,
   ruhige, redaktionelle Flächen statt Karten-Raster.
   ========================================================================== */

:root{
  /* Farbe — dieselbe gedeckte Olivgrün-Palette wie im Ursprungsdesign,
     bewusst als ruhiger Erdton gewählt. */
  --ground:      #F1E9E1;   /* warmes Leinen, leicht rosastichig */
  --surface:     #FBF7F2;   /* nahes Weiß für Flächen/Karten */
  --ink:         #2B2422;   /* warmes Beinahe-Schwarz */
  --ink-soft:    #6C5E58;   /* gedecktes Braungrau für Fließtext */
  --ink-faint:   #9C8D85;
  --accent:      #6E7D5C;   /* gedecktes Olivgrün */
  --accent-deep: #4F5C41;
  --accent-soft: #DCE3D1;   /* zarter Salbeiton für Flächen/Badges */
  --line:        #DCCFC3;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Karla", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1180px;
  --measure: 62ch;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--sans); color:var(--ink); background:var(--ground);
  font-size:18px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.container{ max-width:var(--wrap); margin:0 auto; padding:0 32px; }

h1,h2,h3{ font-family:var(--serif); font-weight:500; line-height:1.08; margin:0; text-wrap:balance; color:var(--ink); }
h1{ font-size:clamp(2.6rem, 4.6vw, 4.1rem); font-weight:440; letter-spacing:-.01em; }
h2{ font-size:clamp(1.8rem, 3vw, 2.5rem); }
h3{ font-size:1.3rem; font-weight:600; }
p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

.eyebrow{
  display:inline-block; font-family:var(--sans); font-size:.72rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep);
}
.lede{ color:var(--ink-soft); font-size:1.14rem; max-width:var(--measure); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6em; padding:.85em 1.9em;
  border-radius:2px; font-family:var(--sans); font-weight:700; font-size:.92rem;
  letter-spacing:.01em; text-decoration:none; border:1px solid transparent;
  transition:all .2s ease; cursor:pointer;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-deep); }
.btn-ghost{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--surface); }
.btn-ghost.on-dark{ border-color:rgba(255,255,255,.6); color:#fff; }
.btn-ghost.on-dark:hover{ background:#fff; color:var(--accent-deep); }

/* ---------- header / nav ---------- */
.site-header{ padding:26px 0; }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ width:34px; height:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-name{ font-family:var(--serif); font-size:1.18rem; color:var(--ink); }
.brand-sub{ font-size:.62rem; letter-spacing:.13em; text-transform:uppercase; color:var(--ink-faint); }
.main-nav{ display:flex; align-items:center; gap:30px; font-size:.92rem; font-weight:600; }
.main-nav a{ text-decoration:none; color:var(--ink-soft); padding-bottom:3px; border-bottom:1px solid transparent; }
.main-nav a:hover, .main-nav a.active{ color:var(--ink); border-color:var(--accent); }
.lang-switch{ display:flex; gap:2px; margin-left:8px; }
.lang-switch a{ font-size:.7rem; font-weight:700; padding:4px 8px; border-radius:2px; color:var(--ink-faint); border-bottom:none !important; }
.lang-switch a.active{ background:var(--accent); color:#fff; }
.nav-toggle{
  display:none; width:38px; height:38px; border:1px solid var(--line); border-radius:2px;
  background:var(--surface); cursor:pointer; padding:0; position:relative; flex-shrink:0;
}
.nav-toggle span{ position:absolute; left:9px; right:9px; height:1px; background:var(--ink); transition:transform .2s ease, opacity .2s ease; }
.nav-toggle span:nth-child(1){ top:14px; }
.nav-toggle span:nth-child(2){ top:19px; }
.nav-toggle span:nth-child(3){ top:24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{ padding:32px 0 96px; }
.hero .container{ display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; }
.hero-copy .eyebrow{ margin-bottom:18px; }
.hero-copy h1{ margin-bottom:26px; }
.hero-copy .lede{ margin-bottom:36px; font-family:var(--serif); font-size:1.32rem; font-style:italic; color:var(--accent-deep); line-height:1.5; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:52px; }
.hero-stats{ display:flex; gap:40px; flex-wrap:wrap; }
.hero-stats .stat b{ display:block; font-family:var(--serif); font-size:2rem; font-weight:500; color:var(--accent); font-variant-numeric:tabular-nums; }
.hero-stats .stat span{ font-size:.86rem; color:var(--ink-soft); }

.hero-figure{ position:relative; }
.hero-figure::before{
  content:""; position:absolute; inset:22px -22px -22px 22px; background:var(--accent-soft);
  border-radius:2px; z-index:0;
}
.hero-figure img{ position:relative; z-index:1; width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:2px; }

/* ---------- pull-quote band ---------- */
.quote-band{ padding:92px 0; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.quote-band .container{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center; }
.quote-band img{ width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:2px; filter:saturate(.94); }
.quote-band blockquote{ margin:0; font-family:var(--serif); font-style:italic; font-weight:400; font-size:clamp(1.6rem,2.6vw,2.3rem); line-height:1.32; color:var(--ink); }
.quote-band cite{ display:block; margin-top:24px; font-style:normal; font-family:var(--sans); font-size:.86rem; font-weight:700; letter-spacing:.04em; color:var(--ink-soft); }

/* ---------- generic section ---------- */
.section{ padding:92px 0; }
.section-head{ margin-bottom:52px; max-width:640px; }
.section-head .eyebrow{ margin-bottom:14px; }
.section-head h2{ margin-bottom:16px; }

/* editorial two-column split (no boxed cards) */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:0; }
.split > div{ padding:0 44px; }
.split > div:first-child{ padding-left:0; border-right:1px solid var(--line); }
.split > div:last-child{ padding-right:0; }
.split h3{ margin-bottom:12px; }
.split p{ color:var(--ink-soft); }

/* clean list — dash marker, not a bullet dot, not numbered (not a sequence) */
.plain-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px 40px; }
.plain-list li{ position:relative; padding-left:26px; color:var(--ink-soft); }
.plain-list li::before{ content:"—"; position:absolute; left:0; color:var(--accent); font-weight:700; }

/* stat row */
.stat-row{ display:flex; gap:56px; flex-wrap:wrap; padding-top:8px; }
.stat-row .stat b{ display:block; font-family:var(--serif); font-size:2.6rem; font-weight:500; color:var(--accent); }
.stat-row .stat span{ color:var(--ink-soft); font-size:.92rem; }

/* numbered steps (genuine sequence) */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; counter-reset:step; }
.step{ position:relative; padding-top:8px; border-top:2px solid var(--line); }
.step::before{
  counter-increment:step; content:counter(step);
  font-family:var(--serif); font-size:1.6rem; color:var(--accent); font-weight:500; display:block; margin-bottom:10px;
}
.step h3{ font-size:1.05rem; margin-bottom:6px; }
.step p{ color:var(--ink-soft); font-size:.94rem; }

/* timeline (genuine chronology -> dates carry order) */
.timeline{ position:relative; padding-left:32px; border-left:1px solid var(--line); display:flex; flex-direction:column; gap:36px; }
.tl-item{ position:relative; }
.tl-item::before{ content:""; position:absolute; left:-37px; top:.4em; width:9px; height:9px; border-radius:50%; background:var(--accent); }
.tl-date{ font-size:.8rem; font-weight:700; letter-spacing:.04em; color:var(--accent-deep); text-transform:uppercase; margin-bottom:4px; }
.tl-role{ font-family:var(--serif); font-size:1.15rem; margin-bottom:4px; }
.tl-desc{ color:var(--ink-soft); font-size:.94rem; max-width:var(--measure); }

/* practice split (locations) */
.practices{ display:grid; grid-template-columns:1fr 1fr; }
.practice{ padding:64px 48px; }
.practice:first-child{ border-right:1px solid var(--line); }
.practice figure{ margin:0 0 28px; }
.practice img{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:2px; }
.practice address{ font-style:normal; color:var(--ink-soft); margin:18px 0; line-height:1.7; }
.practice .btn{ margin-top:6px; }

/* photo-copy alternating rows (services approaches) */
.approach{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; padding:56px 0; }
.approach:not(:last-child){ border-bottom:1px solid var(--line); }
.approach.reverse{ direction:rtl; }
.approach.reverse > *{ direction:ltr; }
.approach img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:2px; }
.approach h3{ font-size:1.6rem; margin-bottom:14px; }
.approach p{ color:var(--ink-soft); }

/* cta band */
.cta-band{ background:var(--accent); color:#fff; padding:76px 0; text-align:center; }
.cta-band h2{ color:#fff; margin-bottom:16px; }
.cta-band .lede{ color:rgba(255,255,255,.82); margin:0 auto 34px; }
.cta-band .hero-actions{ justify-content:center; margin-bottom:0; }

/* about page */
.about-hero{ padding:64px 0 20px; }
.about-hero .container{ display:grid; grid-template-columns:.8fr 1.2fr; gap:64px; align-items:end; }
.about-hero img{ width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:2px; }
.bio{ max-width:var(--measure); color:var(--ink-soft); font-size:1.06rem; }
.bio p{ margin-bottom:1.3em; }

.legal-hero{ padding:64px 0 36px; }
.legal .container{ max-width:760px; }
.legal h2{ font-size:1.4rem; margin:2em 0 .6em; }
.legal p{ color:var(--ink-soft); }

/* footer */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.82); padding:72px 0 30px; margin-top:0; }
.foot-grid{ display:grid; grid-template-columns:1.3fr 1fr 1.4fr; gap:48px; margin-bottom:52px; }
.site-footer h4{ font-family:var(--sans); font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.5); margin:0 0 16px; }
.site-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.site-footer a{ text-decoration:none; color:rgba(255,255,255,.82); }
.site-footer a:hover{ color:#fff; }
.foot-brand .brand-name{ color:#fff; font-size:1.3rem; }
.foot-brand p{ color:rgba(255,255,255,.6); max-width:280px; margin-top:14px; }
.foot-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; padding-top:26px; border-top:1px solid rgba(255,255,255,.14); font-size:.82rem; color:rgba(255,255,255,.55); }
.foot-legal{ display:flex; gap:20px; flex-wrap:wrap; }

/* concept ribbon (this file only appears on the design-plan pages) */
.concept-ribbon{ background:var(--accent-deep); color:#fff; font:600 12px/1 var(--sans); letter-spacing:.06em; text-transform:uppercase; padding:10px 16px; text-align:center; }
.concept-ribbon b{ color:var(--accent-soft); }

@media (max-width: 880px){
  .nav-toggle{ display:block; }
  .main-nav{
    display:none; position:absolute; top:100%; left:0; right:0; z-index:20;
    flex-direction:column; align-items:flex-start; gap:0;
    background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    box-shadow:0 12px 24px rgba(43,36,34,.08); padding:6px 24px 14px;
  }
  .main-nav.open{ display:flex; }
  .main-nav a{ width:100%; padding:12px 0; border-bottom:1px solid var(--line); }
  .main-nav a:last-of-type{ border-bottom:none; }
  .main-nav .lang-switch{ margin:14px 0 4px; gap:8px; }
  .site-header{ position:relative; }
  .hero .container, .quote-band .container, .split, .about-hero .container,
  .practices, .approach{ grid-template-columns:1fr; }
  .split > div:first-child{ border-right:none; border-bottom:1px solid var(--line); padding-bottom:32px; margin-bottom:32px; }
  .split > div{ padding:0; }
  .plain-list{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr 1fr; }
  .practice:first-child{ border-right:none; border-bottom:1px solid var(--line); }
  .approach.reverse{ direction:ltr; }
  .foot-grid{ grid-template-columns:1fr; gap:32px; }
  .hero-figure::before{ display:none; }
}
