/* ========================================
   GRAMMLICH CONSULTING – style.css
   Font: Inter · Dark Theme · Kein Gitter
   ======================================== */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --orange:#E8721A;
  --orange-hover:#F28B3D;
  --orange-dim:rgba(232,114,26,.10);
  --orange-border:rgba(232,114,26,.22);
  --navy:#1E2D42;
  --navy-light:#263A54;
  --bg:#1E2737;
  --bg-card:#263040;
  --bg-elevated:#2E3A4C;
  --border:rgba(255,255,255,.08);
  --border-strong:rgba(255,255,255,.14);
  --text:#A8B2C2;
  --text-dim:#6E7E92;
  --heading:#E4E8EE;
  --white:#fff;
  --radius:8px;
  --max-w:1080px;
}

html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:var(--orange);text-decoration:none;transition:color .2s}
a:hover{color:var(--orange-hover)}
img{max-width:100%;height:auto;display:block}
ul{list-style:none;padding:0}

/* ── Layout ── */
.wrap{max-width:var(--max-w);margin:0 auto;padding:0 2rem}
section{padding:5rem 0}
.rule{height:1px;background:var(--border);max-width:var(--max-w);margin:0 auto}

/* ── Buttons ── */
.btn{display:inline-block;padding:.75rem 1.5rem;border-radius:6px;font-size:.88rem;font-weight:600;transition:all .2s;cursor:pointer;border:none;font-family:inherit;text-align:center}
.btn-primary{background:var(--orange);color:var(--white)}
.btn-primary:hover{background:var(--orange-hover);color:var(--white)}
.btn-outline{border:1px solid var(--border-strong);color:var(--text-dim);background:transparent}
.btn-outline:hover{border-color:var(--orange-border);color:var(--heading)}
.cta-row{display:flex;gap:.75rem;flex-wrap:wrap}

/* ── Header / Nav ── */
header{position:sticky;top:0;z-index:100;background:rgba(30,39,55,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:.9rem;color:var(--heading);letter-spacing:.04em;text-transform:uppercase}
.logo img{width:30px;height:30px}
.logo span{color:var(--orange)}
.desktop-nav{display:flex;align-items:center;gap:2rem}
.desktop-nav a{font-size:.84rem;color:var(--text-dim);font-weight:500}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--heading)}
.desktop-nav .nav-cta{color:var(--orange);font-weight:600}
.hamburger{display:none;flex-direction:column;justify-content:space-between;width:26px;height:18px;background:none;border:none;cursor:pointer;padding:0}
.hamburger span{display:block;width:100%;height:2px;background:var(--heading);border-radius:1px}

/* Mobile Nav Overlay */
.mobile-nav{display:none;position:fixed;top:60px;left:0;right:0;bottom:0;background:rgba(30,39,55,.97);z-index:99;flex-direction:column;padding:2rem;gap:1rem}
.mobile-nav.open{display:flex}
.mobile-nav a{font-size:1.1rem;color:var(--text);padding:.75rem 0;border-bottom:1px solid var(--border)}
.mobile-nav a:hover{color:var(--orange)}

/* ── Hero (Landing) ── */
.hero{padding:5.5rem 0 4.5rem;position:relative}
.hero .wrap{position:relative;z-index:1}
.hero-split{display:grid;grid-template-columns:1fr 260px;gap:3rem;align-items:end}
.hero-text .eyebrow{display:inline-block;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;color:var(--orange);font-weight:600;margin-bottom:1.25rem;padding:5px 14px;border:1px solid var(--orange-border);border-radius:100px;background:var(--orange-dim)}
.hero-text h1{font-size:clamp(2rem,4.5vw,3rem);font-weight:700;color:var(--heading);line-height:1.12;margin-bottom:1.25rem;letter-spacing:-.02em}
.hero-text h1 em{font-style:normal;color:var(--orange)}
.hero-text .lead{font-size:1rem;color:var(--text);line-height:1.7;max-width:500px;margin-bottom:2rem}
.hero-photo{position:relative}
.hero-photo img{border-radius:10px;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top}
.hero-photo .photo-badge{position:absolute;bottom:-14px;left:50%;transform:translateX(-50%);background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:100px;padding:5px 16px;font-size:.72rem;font-weight:600;color:var(--heading);white-space:nowrap}
.hero-photo .photo-badge span{color:var(--orange)}

/* ── Hero (Subpages) ── */
.hero-sub{padding:5rem 0 3.5rem;text-align:left}
.hero-sub .eyebrow{display:inline-block;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;color:var(--orange);font-weight:600;margin-bottom:1rem}
.hero-sub h1{font-size:clamp(2rem,4.5vw,2.8rem);font-weight:700;color:var(--heading);line-height:1.15;margin-bottom:1rem;letter-spacing:-.02em}
.hero-sub .lead{font-size:1rem;color:var(--text);line-height:1.7;max-width:620px;margin-bottom:2rem}

/* ── Stats ── */
.stats-bar{border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);max-width:var(--max-w);margin:0 auto}
.stat{padding:2rem;text-align:center;position:relative}
.stat+.stat::before{content:'';position:absolute;left:0;top:20%;height:60%;width:1px;background:var(--border)}
.stat .val{font-size:1.6rem;font-weight:700;color:var(--heading)}
.stat .val.accent{color:var(--orange)}
.stat .lbl{font-size:.72rem;color:var(--text-dim);margin-top:.25rem;text-transform:uppercase;letter-spacing:.06em}

/* ── Section Heads ── */
.section-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.18em;color:var(--orange);font-weight:600;margin-bottom:.5rem}
.section-title{font-size:clamp(1.4rem,3vw,2rem);font-weight:700;color:var(--heading);line-height:1.2;margin-bottom:.5rem;letter-spacing:-.01em}
.section-subtitle{font-size:.95rem;color:var(--text);max-width:520px;margin-bottom:2.5rem}

/* ── Cards ── */
.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;transition:border-color .25s}
.card:hover{border-color:var(--orange-border)}
.card{position:relative;padding-top:2.25rem}
.card::before{content:'';position:absolute;top:0;left:2rem;width:28px;height:3px;background:var(--orange);border-radius:0 0 2px 2px;opacity:.7;transition:opacity .25s}
.card:hover::before{opacity:1}
.card h3{font-size:1rem;font-weight:600;color:var(--heading);margin-bottom:.4rem}
.card p{font-size:.88rem;color:var(--text);line-height:1.6}
.card ul{margin-top:.6rem}
.card ul li{font-size:.82rem;color:var(--text-dim);padding:.2rem 0 .2rem 1rem;position:relative}
.card ul li::before{content:'—';position:absolute;left:0;color:var(--orange);font-size:.75rem}
.card-link{display:inline-block;margin-top:.75rem;font-size:.82rem;font-weight:600;color:var(--orange)}
.cards-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.cards-4{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}

/* ── Features (USPs, numbered items) ── */
.features{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem}
.feature .num{font-size:.7rem;font-weight:700;color:var(--orange);margin-bottom:.3rem;letter-spacing:.04em}
.feature h3{font-size:.95rem;font-weight:600;color:var(--heading);margin-bottom:.3rem}
.feature p{font-size:.88rem;color:var(--text);line-height:1.6}

/* ── Steps / Timeline ── */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2rem}
.step{padding:1.5rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);position:relative}
.step .step-num{font-size:.7rem;font-weight:700;color:var(--orange);margin-bottom:.5rem;letter-spacing:.04em}
.step h3{font-size:.92rem;font-weight:600;color:var(--heading);margin-bottom:.3rem}
.step p{font-size:.82rem;color:var(--text);line-height:1.5}

/* ── Badges / Tags ── */
.badges{display:flex;flex-wrap:wrap;gap:.4rem}
.badge{font-size:.7rem;font-weight:600;padding:.35rem .75rem;border-radius:4px;background:var(--orange-dim);border:1px solid var(--orange-border);color:var(--orange);letter-spacing:.02em}
.badge-neutral{background:rgba(255,255,255,.04);border-color:var(--border);color:var(--text-dim)}

/* ── Info Box / Highlight ── */
.info-box{background:var(--bg-card);border:1px solid var(--border);border-left:3px solid var(--orange);border-radius:0 var(--radius) var(--radius) 0;padding:1.5rem 2rem;margin:2rem 0}
.info-box h3{font-size:.95rem;font-weight:600;color:var(--heading);margin-bottom:.4rem}
.info-box p{font-size:.88rem;color:var(--text);line-height:1.6}

/* ── Tables ── */
.data-table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.88rem}
.data-table th,.data-table td{padding:.65rem 1rem;text-align:left;border-bottom:1px solid var(--border)}
.data-table th{color:var(--text-dim);font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}
.data-table td{color:var(--heading)}

/* ── FAQ Accordion ── */
.faq{margin-top:2rem}
.faq details{border-bottom:1px solid var(--border);padding:1rem 0}
.faq summary{cursor:pointer;font-size:.95rem;font-weight:600;color:var(--heading);list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq summary::after{content:'+';font-size:1.2rem;color:var(--orange);font-weight:400;transition:transform .2s}
.faq details[open] summary::after{content:'−'}
.faq .answer{padding:.75rem 0 .5rem;font-size:.88rem;color:var(--text);line-height:1.7}

/* ── About page: Timeline ── */
.timeline{margin-top:2rem}
.timeline-section{margin-bottom:2rem}
.timeline-section h3{font-size:1rem;font-weight:600;color:var(--heading);margin-bottom:1rem}
.timeline-item{display:grid;grid-template-columns:100px 1fr;gap:1rem;padding:1rem 0;border-top:1px solid var(--border)}
.timeline-item .when{font-size:.72rem;font-weight:700;color:var(--orange);text-transform:uppercase;letter-spacing:.04em;padding-top:.15rem}
.timeline-item h4{font-size:.92rem;font-weight:600;color:var(--heading);margin-bottom:.25rem}
.timeline-item p{font-size:.85rem;color:var(--text);line-height:1.6}

/* ── Contact Form ── */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.contact-info h3{font-size:1.05rem;font-weight:600;color:var(--heading);margin-bottom:.65rem}
.contact-info p{font-size:.92rem;line-height:1.7;margin-bottom:1rem}
.contact-meta li{font-size:.88rem;color:var(--text-dim);padding:.5rem 0;border-top:1px solid var(--border);display:flex;gap:.5rem}
.contact-meta li:last-child{border-bottom:1px solid var(--border)}
.contact-meta .icon{font-size:1rem}
.contact-meta .label{color:var(--text-dim);min-width:80px}
.contact-meta .value{color:var(--heading);font-weight:500}
form label{display:block;font-size:.72rem;font-weight:600;color:var(--text-dim);margin-bottom:.25rem;text-transform:uppercase;letter-spacing:.07em}
form input,form textarea,form select{width:100%;padding:.65rem .85rem;background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:6px;color:var(--heading);font-family:inherit;font-size:.88rem;margin-bottom:.9rem;transition:border-color .2s;outline:none}
form input:focus,form textarea:focus,form select:focus{border-color:var(--orange)}
form textarea{resize:vertical;min-height:110px}
form select{cursor:pointer}
form .hint{font-size:.78rem;color:var(--text-dim);margin-top:.5rem;line-height:1.5}

/* ── CTA Section ── */
.cta-section{text-align:center;padding:4rem 0}
.cta-section h2{font-size:clamp(1.3rem,3vw,1.8rem);font-weight:700;color:var(--heading);margin-bottom:.75rem}
.cta-section p{font-size:.95rem;color:var(--text);max-width:480px;margin:0 auto 1.5rem}

/* ── Legal Pages (Impressum, Datenschutz) ── */
.legal{padding:4rem 0}
.legal h1{font-size:2rem;font-weight:700;color:var(--heading);margin-bottom:2rem}
.legal h2{font-size:1.15rem;font-weight:600;color:var(--heading);margin:2rem 0 .75rem}
.legal h3{font-size:1rem;font-weight:600;color:var(--heading);margin:1.5rem 0 .5rem}
.legal p{margin-bottom:.75rem;font-size:.92rem;line-height:1.7}
.legal ul{margin:.5rem 0 1rem 1.25rem;list-style:disc}
.legal ul li{font-size:.88rem;color:var(--text);margin-bottom:.3rem}
.legal strong{color:var(--heading);font-weight:600}

/* ── About Hero (ueber-mich) ── */
.about-hero{display:grid;grid-template-columns:220px 1fr;gap:2.5rem;align-items:start}

/* ── Footer ── */
footer{border-top:1px solid var(--border);padding:2.5rem 0}
footer .wrap{display:flex;align-items:center;justify-content:space-between}
.f-left{display:flex;align-items:center;gap:10px}
.f-logo{display:flex;align-items:center;gap:8px}
.f-logo img{width:24px;height:24px;opacity:.5}
.f-logo span{font-size:.78rem;font-weight:700;color:var(--text-dim);letter-spacing:.04em;text-transform:uppercase}
.f-copy{font-size:.75rem;color:var(--text-dim);margin-top:.25rem}
.f-right{display:flex;gap:1.5rem}
.f-right a{font-size:.8rem;color:var(--text-dim)}
.f-right a:hover{color:var(--orange)}

/* ── Responsive ── */
@media(max-width:768px){
  .wrap{padding:0 1.25rem}
  .desktop-nav{display:none}
  .hamburger{display:flex}
  .hero-split{grid-template-columns:1fr;gap:2rem}
  .hero-photo{max-width:200px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat+.stat::before{display:none}
  .cards-2,.cards-3,.cards-4,.features{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .contact-grid,.about-hero{grid-template-columns:1fr}
  .about-hero>div:first-child{max-width:200px;margin:0 auto}
  section{padding:3.5rem 0}
  .hero,.hero-sub{padding:3.5rem 0 2.5rem}
  footer .wrap{flex-direction:column;gap:.75rem;text-align:center}
  .f-right{justify-content:center}
  .timeline-item{grid-template-columns:80px 1fr}
}
@media(max-width:480px){
  .steps{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr 1fr}
}

