/* ================================================================
   ACCORDISTEN.DE — Stille Autoritaet
   Premium Business Consulting · Stuttgart
   ================================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

/* --- Custom Properties --- */
:root {
  --navy: #0f1629;
  --navy-soft: #1a2137;
  --ink: #2a2f3e;
  --text: #3d4258;
  --text-light: #6b7190;
  --border: #dfe2ea;
  --border-light: #edf0f5;
  --surface: #f6f7fa;
  --surface-warm: #faf9f7;
  --bg: #ffffff;
  --accent: #4f46b8;
  --accent-light: #6c63d0;
  --accent-faint: #f0eefb;
  --gold: #b8976a;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1140px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .3s; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light);
  padding: .85rem 0;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color .25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--bg) !important;
  background: var(--navy);
  padding: .55rem 1.4rem;
  border-radius: 6px;
  transition: background .25s, transform .25s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-soft); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
  transition: transform .3s, opacity .3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: clamp(8rem, 18vh, 12rem) 0 clamp(5rem, 12vh, 8rem);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 80%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(79,70,184,.04) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(184,151,106,.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 720px;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeUp .8s var(--ease) both;
}

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

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeUp .8s var(--ease) .15s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: fadeUp .8s var(--ease) .3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--navy);
  padding: .9rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,22,41,.15);
}

.btn-secondary {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color .25s;
}

.btn-secondary:hover { color: var(--navy); }

.hero-line {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--accent);
  margin-top: 4rem;
  animation: lineGrow .6s var(--ease) .6s both;
  transform-origin: left;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--surface-warm);
}

.services-header {
  margin-bottom: 3.5rem;
}

.services-header h2 {
  max-width: 500px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.25rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15,22,41,.08);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: .75rem;
}

.service-price {
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ================================================================
   WHY US
   ================================================================ */
.why {
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.why-header {
  margin-bottom: 3.5rem;
}

.why-header h2 {
  max-width: 480px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-item {
  position: relative;
  padding-left: 1.75rem;
}

.why-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.why-item h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .65rem;
}

.why-item p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ================================================================
   PROCESS
   ================================================================ */
.process {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--navy);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(79,70,184,.1) 0%, transparent 60%);
  pointer-events: none;
}

.process .section-label { color: var(--gold); }
.process h2 { color: var(--bg); margin-bottom: .5rem; }

.process-sub {
  color: rgba(255,255,255,.55);
  font-size: 0.95rem;
  max-width: 480px;
  margin-bottom: 3.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  transition: background .3s, border-color .3s;
}

.process-step:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
}

.step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: rgba(255,255,255,.1);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-step h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: .5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq {
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.faq-header {
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color .25s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-light);
  transition: transform .3s var(--ease), opacity .3s;
}

.faq-icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-answer-inner {
  padding: 0 0 1.35rem;
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 600px;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--surface);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text h2 {
  margin-bottom: 1rem;
}

.contact-text > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 400px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--navy);
  transition: color .25s;
}

.contact-info a:hover { color: var(--accent); }

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
  font-family: var(--sans);
  font-size: 0.925rem;
  color: var(--navy);
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  margin-top: .5rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: color .25s;
}

.footer-links a:hover { color: var(--navy); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    animation: fadeIn .25s var(--ease);
  }

  .nav-links.open .nav-cta {
    align-self: flex-start;
  }

  .process-steps { grid-template-columns: 1fr; }

  .hero { padding-top: 7rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
