/* ============================================================
   Linus IT-Hilfe — zentrales Stylesheet
   Design-Tokens laut Design-Handoff (README.md)
   ============================================================ */

/* ---- Schriften (lokal gehostet, DSGVO-konform) ---- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-condensed-800.woff2') format('woff2');
}

/* ---- Design-Tokens ---- */
:root {
  --navy: #000f7a;
  --navy-dark: #000a54;
  --orange: #e84e1b;
  --orange-dark: #c94015;
  --beige: #f1ede4;
  --page-bg: #fbf9f5;
  --white: #ffffff;
  --text: #12131a;
  --text-muted: #3a3d4d;
  --text-weak: #5a5d6d;
  --text-faint: #8a8578;
  --border: #e0e0e0;
  --whatsapp: #25d366;
  --whatsapp-dark: #1fb959;
  --navy-tint: #c9d0f2;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
}

/* ---- Basis ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  font-family: var(--font-body);
  color: var(--text);
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---- Layout-Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.container--narrow { max-width: 1120px; }
.container--slim { max-width: 760px; }
.container--faq { max-width: 860px; }

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { height: 36px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--beige);
  border-radius: 100px;
  padding: 6px;
}
.navpill {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 100px;
  color: var(--navy);
  white-space: nowrap;
}
.navpill:hover { color: var(--navy); background: var(--white); }
.navpill[aria-current="page"] { background: var(--navy); color: var(--white); }
.navpill[aria-current="page"]:hover { background: var(--navy); color: var(--white); }
.social-links { display: flex; gap: 8px; align-items: center; }
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  color: var(--navy);
}
.social-btn:hover { background: var(--navy); color: var(--white); }
.social-btn svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.social-btn--wa { background: var(--whatsapp); color: var(--white); }
.social-btn--wa:hover { background: var(--whatsapp-dark); color: var(--white); }

/* ---- Bausteine ---- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--navy);
}
.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
}
.cta-btn:hover { color: var(--white); background: var(--orange-dark); }
.cta-btn--navy { background: var(--navy); }
.cta-btn--navy:hover { background: var(--navy-dark); }
.cta-btn--whatsapp { background: var(--whatsapp); }
.cta-btn--whatsapp:hover { background: var(--whatsapp-dark); }

h1, h2 { font-family: var(--font-head); color: var(--navy); }
.page-title { font-weight: 800; font-size: 40px; margin: 0 0 16px; }
.section-title { font-weight: 800; font-size: 32px; margin: 0 0 32px; }

.svc-card {
  display: block;
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  border: 2px solid transparent;
  transition: border-color .15s, transform .15s;
  color: inherit;
}
.svc-card:hover { border-color: var(--navy); transform: translateY(-2px); color: inherit; }
.svc-card--highlight { border-color: var(--orange); }
.svc-card--highlight:hover { border-color: var(--navy); }
.svc-card h3, .svc-card .svc-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  margin: 0 0 6px;
}
.svc-card .svc-sub { color: var(--text-weak); font-size: 14px; line-height: 1.5; }
.svc-card .svc-text { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.svc-card--service h3 { font-size: 18px; margin-bottom: 8px; }
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 8px;
}

.card-grid { display: grid; gap: 20px; }
.card-grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---- Startseite: Hero ---- */
.hero {
  padding-top: 40px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.hero .chip { margin-bottom: 24px; align-self: flex-start; }
.hero-col { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  margin: 0 0 24px;
  line-height: 1.15;
}
.hero-lead { font-size: 18px; color: var(--text-muted); max-width: 480px; margin: 0 0 20px; line-height: 1.6; }
.price-badge {
  display: inline-flex;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.price-badge--light { background: var(--beige); color: var(--navy); margin-bottom: 12px; }
.hero-area { font-size: 14px; color: var(--text-weak); margin-bottom: 32px; }

/* Foto-Kacheln (Platzhalter, spaeter durch echte <img> ersetzen) */
.photo-frame { position: relative; }
.photo-frame::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 100%;
  height: 100%;
  background: var(--orange);
  border-radius: 24px;
  transform: rotate(3deg);
}
.photo-frame--left::before { inset: -14px auto auto -14px; transform: rotate(-3deg); }
.photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 380px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo--tall { height: 400px; }
.photo img.photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .photo-placeholder { width: 110px; height: auto; opacity: 0.4; }

/* ---- Startseite: rotierender Banner ---- */
.rotator-band { width: 100%; background: var(--beige); padding: 56px 40px; }
.rotator-line {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
  min-height: 56px;
}
.rotator-static {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--navy);
  white-space: nowrap;
}
.rotator-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--orange);
  white-space: nowrap;
  transition: opacity .22s ease;
}
.rotator-word.is-fading { opacity: 0; }
.rotator-sub { text-align: center; margin-top: 20px; font-size: 16px; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotator-word { transition: none; }
  .svc-card { transition: none; }
}

/* ---- Sektionen ---- */
.section { padding-top: 40px; padding-bottom: 90px; }
.section--flush { padding-top: 0; }

.feature-card {
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 24px;
  padding: 40px;
}
.feature-card .chip { margin-bottom: 16px; }
.feature-card h2 { font-weight: 800; font-size: 28px; margin: 0 0 16px; }
.feature-card p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0 0 20px; max-width: 640px; }

.seo-copy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px 48px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.seo-copy p { margin: 0 0 14px; }
.seo-copy p:last-child { margin-bottom: 0; }
.seo-copy strong { color: var(--navy); }

.cta-banner {
  background: var(--navy);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
}
.cta-banner h2 { font-weight: 800; font-size: 28px; color: var(--white); margin: 0 0 14px; }
.cta-banner p { font-size: 16px; color: var(--navy-tint); margin: 0 0 28px; }

/* ---- Dienstleistungen ---- */
.page-head { padding-top: 50px; }
.page-head .chip { margin-bottom: 20px; }
.page-intro { font-size: 17px; color: var(--text-muted); line-height: 1.6; max-width: 640px; margin: 0 0 48px; }

.price-banner {
  margin-top: 40px;
  text-align: center;
  padding: 24px;
  background: var(--navy);
  border-radius: 18px;
}
.price-banner .price { font-weight: 700; color: var(--white); font-size: 18px; }
.price-banner .price-note { color: var(--navy-tint); font-size: 14px; }

.remote-card {
  margin-top: 56px;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  scroll-margin-top: 24px;
}
.remote-card .chip { margin-bottom: 16px; }
.remote-card h2 { font-weight: 800; font-size: 28px; margin: 0 0 14px; }
.remote-card > p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0 0 24px; max-width: 680px; }
.remote-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.remote-help { background: var(--beige); border-radius: 18px; padding: 28px; }
.remote-help h3 { font-family: var(--font-body); font-weight: 700; color: var(--navy); font-size: 17px; margin: 0 0 10px; }
.remote-help p, .remote-help ol { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 10px; }
.remote-help ol { line-height: 1.8; margin-bottom: 16px; padding-left: 20px; }
.remote-help p:last-of-type { margin-bottom: 0; }
.remote-note { margin-top: 20px; font-size: 13.5px; color: var(--text-faint); }

/* ---- Ueber mich ---- */
.about {
  padding-top: 50px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.about .photo-frame { margin-top: 8px; }
.about .chip { margin-bottom: 20px; }
.about h1 { margin-bottom: 20px; }
.about p { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin: 0 0 20px; }
.about p:last-child { margin-bottom: 0; }
.about-quote {
  margin: 30px 0 0;
  padding: 22px 26px;
  background: var(--beige);
  border-left: 4px solid var(--orange);
  border-radius: 0 18px 18px 0;
}
.about-quote p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 8px;
}
.about-quote footer { font-size: 13.5px; color: var(--text-faint); }

/* ---- Termin / Kontakt ---- */
.contact {
  padding-top: 60px;
  padding-bottom: 100px;
  text-align: center;
}
.contact .chip { margin-bottom: 20px; }
.contact-intro { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; }
.contact-area { font-size: 14px; color: var(--text-weak); margin-bottom: 36px; }
.contact-buttons { display: flex; flex-direction: column; gap: 16px; max-width: 400px; margin: 0 auto; }
.contact-hint { margin-top: 16px; font-size: 13px; color: var(--text-faint); }
.contact-direct { margin-top: 24px; font-size: 15px; color: var(--text-weak); }
.contact-direct a { font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 14px; margin-top: 8px; }
.faq-item {
  background: var(--white);
  border-radius: 18px;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--navy); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 28px 24px; font-size: 15.5px; color: var(--text-muted); line-height: 1.7; }
.faq-item .faq-answer p { margin: 0 0 12px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---- Rechtstexte ---- */
.legal { padding-top: 60px; padding-bottom: 100px; }
.legal .chip { margin-bottom: 20px; }
.legal h1 { margin-bottom: 32px; }
.legal-card {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 20px;
}
.legal-card h2 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text);
  font-size: 17px;
  margin: 0 0 8px;
}
.legal-card h2:not(:first-child) { margin-top: 28px; }
.legal-card p { margin: 0 0 12px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: 0 0 12px; padding-left: 22px; }
.legal-strong { font-weight: 700; color: var(--text); }

/* ---- 404 ---- */
.error-page { padding-top: 80px; padding-bottom: 120px; text-align: center; }
.error-code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 96px;
  color: var(--orange);
  line-height: 1;
  margin: 0 0 8px;
}

/* ---- Footer ---- */
.site-footer { padding: 32px 40px 40px; text-align: center; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-note { font-size: 13px; color: var(--text-faint); }
.footer-row a { font-size: 13px; color: var(--navy); }
.footer-row a:hover { color: var(--orange); }
.footer-area { margin-top: 14px; font-size: 12.5px; color: var(--text-faint); }

.spacer-bottom { height: 80px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .site-header { padding: 20px; justify-content: center; }
  .rotator-band { padding: 44px 20px; }
  .site-footer { padding: 28px 20px 36px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding-bottom: 70px; }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about .photo-frame { max-width: 420px; }
  .section { padding-bottom: 70px; }
  .page-title { font-size: 34px; }
  .section-title { font-size: 28px; }
  .feature-card, .remote-card { padding: 28px; }
  .cta-banner { padding: 48px 24px; }
  .photo { height: 320px; }
}
