/* ============================================================
   ZDUNEK BERATUNG — Apple-inspired Design
   SF Pro on Apple devices, Helvetica Neue on all others
   ============================================================ */

:root {
  --bg:           #FFFFFF;
  --bg-alt:       #F5F5F7;
  --bg-card:      #FFFFFF;
  --text:         #1D1D1F;
  --text-2:       #6E6E73;
  --text-3:       #86868B;
  --accent:       #0066CC;
  --accent-dark:  #004FA3;
  --accent-bg:    rgba(0, 102, 204, 0.07);
  --sep:          rgba(0, 0, 0, 0.08);
  --sep-strong:   rgba(0, 0, 0, 0.14);
  --shadow-xs:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.07);
  --shadow:       0 6px 30px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.08);
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;
  --font:         -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  --max-w:        980px;
  --nav-h:        52px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-2); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--sep);
  transition: background 0.3s;
}

.nav-scrolled { background: rgba(255, 255, 255, 0.96) !important; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-logo-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-2);
  padding: 7px 13px;
  border-radius: 6px;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 500; }

.nav-cta {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  background: var(--accent) !important;
  color: white !important;
  padding: 7px 18px !important;
  border-radius: 100px !important;
  transition: background 0.2s, transform 0.15s !important;
  border: none !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: scale(1.02) !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 0 0;
  background: linear-gradient(180deg, #FFFFFF 60%, #F5F5F7 100%);
  position: relative;
  overflow: hidden;
}

/* Suppress old dark-mode decorations */
.hero-bg, .hero-grid, .hero-scroll, .hero-badge { display: none !important; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 48px 0 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.05s forwards;
}

.hero h1 {
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.12s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.19s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.26s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-dark); transform: scale(1.02); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--sep-strong);
}
.btn-outline:hover { background: var(--bg-alt); color: var(--text); border-color: var(--sep-strong); }

.btn-white {
  background: white;
  color: var(--text);
  font-weight: 600;
}
.btn-white:hover { background: rgba(255,255,255,0.88); transform: scale(1.02); }

.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ============================================================
   SECTIONS
   ============================================================ */

section { padding: 96px 0; }

.section-label, .section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.section-header { margin-bottom: 52px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { font-size: 1rem; max-width: 460px; line-height: 1.68; }
.section-header.center { text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }

.bg-alt { background: var(--bg-alt); }

/* ============================================================
   SERVICES (index)
   ============================================================ */

.services-section { background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--sep);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  transition: box-shadow 0.22s, transform 0.22s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card > p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-3);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ============================================================
   ABOUT TEASER (index)
   ============================================================ */

.about-teaser {
  background: var(--bg-card);
  border: 1px solid var(--sep);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-teaser-text p {
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.75;
  margin: 12px 0 22px;
}

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.stat {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-value em { font-style: normal; color: var(--accent); }
.stat-label { font-size: 0.76rem; color: var(--text-2); line-height: 1.4; }

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: #1D1D1F;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
}

.cta-banner h2 { color: #F5F5F7; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-banner p  { color: rgba(255,255,255,0.58); font-size: 1rem; margin-bottom: 32px; max-width: 380px; margin-left: auto; margin-right: auto; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */

.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 68px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--sep);
}

.page-hero-bg { display: none; }
.page-hero-content { max-width: 580px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p  { font-size: 1rem; line-height: 1.72; }

/* ============================================================
   LEISTUNGEN PAGE
   ============================================================ */

.leistung-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  padding: 68px 0;
  border-bottom: 1px solid var(--sep);
}

.leistung-block:last-child { border-bottom: none; padding-bottom: 0; }

.leistung-info h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 12px; }
.leistung-info p  { font-size: 0.88rem; line-height: 1.8; }

.leistung-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.leistung-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.leistung-card:hover {
  background: var(--bg-card);
  border-color: var(--sep);
  box-shadow: var(--shadow-xs);
  transform: translateY(-2px);
}

.lc-icon {
  width: 34px; height: 34px;
  background: var(--accent-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

.lc-icon svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.leistung-card h4 { font-size: 0.88rem; margin-bottom: 5px; }
.leistung-card p  { font-size: 0.79rem; line-height: 1.58; }

/* ============================================================
   ÜBER MICH
   ============================================================ */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 68px;
  align-items: start;
}

.about-portrait {
  background: var(--bg-alt);
  border: 1px solid var(--sep);
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  overflow: hidden;
}

.portrait-initials {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--sep-strong);
  letter-spacing: -0.04em;
}

.portrait-hint {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-3);
}

.about-body p { font-size: 0.94rem; line-height: 1.8; margin-bottom: 15px; }
.about-body p:last-child { margin-bottom: 0; }

.about-highlight {
  background: var(--bg-alt);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-2);
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}

.value-card:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.value-icon {
  width: 42px; height: 42px;
  background: var(--accent-bg);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 13px;
}

.value-icon svg {
  width: 19px; height: 19px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 { font-size: 0.92rem; margin-bottom: 6px; }
.value-card p  { font-size: 0.78rem; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--sep);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xs);
}

.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { font-size: 0.86rem; margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 15px; }

label {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--sep);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

input::placeholder, textarea::placeholder { color: var(--text-3); }

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--bg-alt);
  padding-right: 36px;
}

select option { background: var(--bg-card); color: var(--text); }
textarea { resize: vertical; min-height: 128px; }

.form-footer { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
.form-footer .btn { width: 100%; justify-content: center; padding: 14px; font-size: 0.9rem; }
.form-note { font-size: 0.72rem; color: var(--text-3); text-align: center; }

.form-success {
  display: none;
  background: rgba(52, 199, 89, 0.07);
  border: 1px solid rgba(52, 199, 89, 0.22);
  color: #1a7f37;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.87rem;
  text-align: center;
  margin-top: 14px;
}

.contact-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--sep);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 0.86rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sep);
  margin-bottom: 16px;
}

.info-card-tip {
  background: var(--accent-bg) !important;
  border-color: rgba(0, 102, 204, 0.15) !important;
}

.info-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.info-item:last-child { margin-bottom: 0; }

.info-icon {
  width: 30px; height: 30px;
  background: var(--accent-bg);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 13px; height: 13px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-text strong { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text); margin-bottom: 2px; }
.info-text span   { font-size: 0.8rem; color: var(--text-2); }
.info-text a      { color: var(--text-2); transition: color 0.15s; }
.info-text a:hover { color: var(--accent); }

/* ============================================================
   LEGAL
   ============================================================ */

.legal-content { max-width: 660px; }

.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 40px;
  margin-bottom: 11px;
  padding-top: 32px;
  border-top: 1px solid var(--sep);
}

.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p, .legal-content li { font-size: 0.87rem; line-height: 1.78; color: var(--text-2); margin-bottom: 9px; }
.legal-content ul { padding-left: 18px; margin-bottom: 9px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--sep);
  padding: 52px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p { font-size: 0.8rem; margin-top: 12px; line-height: 1.65; max-width: 230px; }

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.8rem; color: var(--text-2); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--sep);
}

.footer-bottom p { font-size: 0.74rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.74rem; color: var(--text-3); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--text-2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .leistung-block   { grid-template-columns: 1fr; gap: 28px; }
  .about-split      { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait   { position: static; max-width: 200px; aspect-ratio: 1; }
  .contact-layout   { grid-template-columns: 1fr; }
  .contact-sidebar  { position: static; }
  .footer-inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-teaser     { padding: 36px; gap: 36px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--sep);
    padding: 12px 18px 18px;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(20px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 13px; border-radius: var(--radius-sm); width: 100%; }
  .nav-cta { margin-top: 6px; text-align: center !important; display: block !important; }

  .services-grid, .leistung-cards, .values-grid { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; padding: 26px; gap: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 44px 24px; }
  .form-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  h1 { letter-spacing: -0.018em; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
}
