/* ============================================
   ELEKTRO ADAMS — Gemeinsames Stylesheet
   Optimiert für Generation X & Boomer:
   Große Schrift, hoher Kontrast, Wärme, Klarheit
   ============================================ */

/* --- VARIABLEN --- */
:root {
  --orange:       #E87722;
  --orange-dark:  #C4621A;
  --orange-light: #FDF0E4;
  --dark:         #1A1A1A;       /* fast schwarz, hoher Kontrast */
  --mid:          #444444;       /* dunkler als vorher */
  --light:        #F5F0E8;       /* warmes Creme statt kühles Grau */
  --bg:           #FDFAF6;       /* Seitenhintergrund warm */
  --white:        #FFFFFF;
  --border:       rgba(232, 119, 34, 0.18);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-pill:  100px;
  --shadow-sm:    0 4px 20px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.11);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.15);
  --transition:   0.25s ease;
  --font-serif:   'Lora', Georgia, serif;
  --font-sans:    'Nunito', sans-serif;
  /* Schriftgrößen — generell größer für Lesbarkeit */
  --text-sm:      0.95rem;   /* früher 0.82rem */
  --text-base:    1.05rem;   /* früher 0.88–0.95rem */
  --text-lg:      1.15rem;
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;              /* Basis 17px statt 16px */
  color: var(--dark);
  background: var(--bg);        /* warmes Creme */
  line-height: 1.8;             /* mehr Zeilenabstand = lesbarer */
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.25; }
p { font-size: var(--text-base); color: var(--mid); line-height: 1.85; }

.section-label {
  display: block;
  font-size: 0.82rem;           /* etwas größer als vorher */
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  color: var(--dark);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.section-title--white { color: var(--white); }

/* --- LAYOUT --- */
section { padding: 5rem 5%; }
.inner { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* --- NAVIGATION --- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 5%;
  background: var(--bg); /* immer solid */
  /* kein Blur — immer gleich */
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.09); } /* Schatten bleibt, Design ändert sich nicht */

.nav-logo {
  display: flex; align-items: center; gap: 0.8rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--orange); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white;
}
.nav-logo-text {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
  color: var(--dark); line-height: 1.2;
}
.nav-logo-text span {
  display: block; font-family: var(--font-sans); font-size: 0.65rem;
  font-weight: 500; color: var(--mid); letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Telefonnummer in Nav — prominent */
.nav-phone {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.05rem;          /* groß und lesbar */
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  background: var(--orange-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(232,119,34,0.25);
  transition: background var(--transition), border-color var(--transition);
}
.nav-phone:hover { background: var(--orange); color: white; border-color: var(--orange); }

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  text-decoration: none; color: var(--mid);
  font-size: 1rem;             /* größer als vorher */
  font-weight: 600;
  transition: color var(--transition);
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-burger {
  display: none; background: none; border: none;
  font-size: 1.8rem; cursor: pointer; color: var(--dark);
  padding: 0.3rem;
}
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); padding: 1.2rem 5%; flex-direction: column; gap: 0;
  border-bottom: 2px solid var(--border); box-shadow: var(--shadow-md);
}
.mobile-menu a {
  text-decoration: none; color: var(--dark); font-size: 1.1rem;
  font-weight: 600; padding: 1rem 0;
  border-bottom: 1px solid var(--light);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .nav-cta-mobile {
  color: var(--orange) !important; font-weight: 700;
  font-size: 1.1rem; padding-top: 1.2rem;
}
.mobile-menu.open { display: flex; }

/* --- BUTTONS --- */
/* Große Klickflächen: min. 52px hoch */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem;           /* großzügiger als vorher */
  border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 700; font-size: 1rem; /* größer */
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; border: none; font-family: var(--font-sans);
  min-height: 52px;             /* barrierefrei */
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange); color: white;
  box-shadow: 0 6px 20px rgba(232,119,34,0.35);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 28px rgba(232,119,34,0.45); }
.btn-ghost {
  background: transparent; color: var(--dark);
  border: 2px solid rgba(26,26,26,0.22);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost-white {
  background: rgba(255,255,255,0.12); color: white;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.25); }

/* --- CARDS --- */
.card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* --- FEATURE LIST --- */
.feature-list { display: flex; flex-direction: column; gap: 0.65rem; }
.feature-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: var(--text-base);   /* lesbar */
  color: var(--mid);
  line-height: 1.6;
}
.feature-dot {
  width: 8px; height: 8px; background: var(--orange);
  border-radius: 50%; flex-shrink: 0; margin-top: 0.45rem;
}

/* --- HIGHLIGHT BOX --- */
.highlight-box {
  background: var(--orange-light); border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem; font-size: var(--text-base); color: var(--mid);
  border-left: 4px solid var(--orange); line-height: 1.8;
}

/* --- STAT GRID --- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.stat-item {
  background: var(--light); border-radius: var(--radius-sm);
  padding: 1rem; text-align: center;
}
.stat-num {
  font-family: var(--font-serif); font-size: 1.7rem;
  color: var(--orange); display: block; line-height: 1; margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.82rem; color: var(--mid); font-weight: 600; }

/* --- PULSE BADGE --- */
.pulse-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.3rem;
  background: rgba(232,119,34,0.09); border: 1.5px solid rgba(232,119,34,0.28);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm); color: var(--orange); font-weight: 700;
}
.pulse-dot {
  width: 9px; height: 9px; background: #4CAF50;
  border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0;
}

/* --- TIMELINE --- */
.timeline {
  display: flex; flex-direction: column;
  border-left: 3px solid var(--orange-light); padding-left: 1.8rem;
}
.tl-item { position: relative; padding-bottom: 1.8rem; }
.tl-item::before {
  content: ''; position: absolute; left: -2rem; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--orange);
}
.tl-year {
  font-family: var(--font-serif); font-weight: 700;
  color: var(--orange); font-size: 1rem;
}
.tl-text {
  font-size: var(--text-base); color: var(--mid);
  margin-top: 0.3rem; line-height: 1.7;
}

/* --- CONTACT DETAILS --- */
.k-detail {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 0; border-bottom: 1px solid rgba(0,0,0,0.07);
  text-decoration: none; color: var(--dark);
  transition: color var(--transition);
  min-height: 64px; /* große Klickfläche */
}
.k-detail:hover { color: var(--orange); }
.k-icon {
  width: 52px; height: 52px; background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  transition: background var(--transition);
}
.k-detail:hover .k-icon { background: var(--orange); }
.k-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--orange); font-weight: 700; display: block; margin-bottom: 0.2rem;
}
.k-val { font-size: 1.05rem; font-weight: 600; color: var(--dark); }

/* --- FORM --- */
.f-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.f-group label {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--mid);
}
.f-group input,
.f-group textarea,
.f-group select {
  border: 2px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;        /* großzügiges Padding */
  font-family: var(--font-sans);
  font-size: 1rem;             /* lesbar */
  color: var(--dark); background: white;
  outline: none; transition: border-color var(--transition);
  -webkit-appearance: none; min-height: 52px; /* barrierefrei */
}
.f-group input:focus,
.f-group textarea:focus,
.f-group select:focus { border-color: var(--orange); }
.f-group textarea { resize: vertical; min-height: 130px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note {
  font-size: 0.85rem; color: var(--mid);
  text-align: center; margin-top: 1rem; line-height: 1.6;
}

/* --- PAGE HERO (Unterseiten) --- */
.page-hero {
  padding: 8rem 5% 4.5rem;
  background: var(--dark);
  text-align: center;
}
.page-hero .page-hero-label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(232,119,34,0.9);
  display: block; margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white; margin-bottom: 1.2rem; line-height: 1.25;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 540px; margin: 0 auto; line-height: 1.8;
}

/* --- FOOTER --- */
footer {
  background: var(--dark); padding: 3rem 5%;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 2rem;
}
.footer-logo { font-family: var(--font-serif); font-size: 1.2rem; color: white; }
.footer-logo span { color: var(--orange); }
.footer-sub { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-top: 0.3rem; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.25); }

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.42s; }

/* --- ANIMATIONS --- */
@keyframes fadeUp   { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse    { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.3); } }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-phone { font-size: 0.92rem; padding: 0.5rem 1rem; }
  .nav-burger { display: block; }
  .f-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 5%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
}
