/* Kraftverkehr Groffik – Stylesheet */

@font-face { font-family: "Kanit"; font-weight: 400; font-display: swap; src: url(fonts/kanit-400.woff2) format("woff2"); }
@font-face { font-family: "Kanit"; font-weight: 500; font-display: swap; src: url(fonts/kanit-500.woff2) format("woff2"); }
@font-face { font-family: "Kanit"; font-weight: 600; font-display: swap; src: url(fonts/kanit-600.woff2) format("woff2"); }
@font-face { font-family: "Baloo Chettan 2"; font-weight: 400 800; font-display: swap; src: url(fonts/baloo.woff2) format("woff2"); }

:root {
  --navy: #0A1931;
  --navy-2: #12264a;
  --blue: #0F227B;
  --yellow: #FFC947;
  --yellow-dark: #e8ad1f;
  --ink: #1b2330;
  --muted: #5d6675;
  --line: #e4e7ec;
  --bg-soft: #f5f7fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 25, 49, .08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Baloo Chettan 2", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Kanit", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #cfd6e2; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--yellow); }
.hl { color: var(--yellow); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: #aab4c5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: "Kanit", sans-serif; font-weight: 500; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--blue); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.35rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--blue); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-family: "Kanit", sans-serif; font-weight: 400; color: var(--ink); }
.nav a:hover { color: var(--blue); }
.nav .btn { padding: 10px 20px; }
.nav .btn--dark, .nav .btn--dark:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy) url(img/hero.jpg) center / cover no-repeat;
  padding: clamp(96px, 14vw, 170px) 0 clamp(80px, 11vw, 140px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,25,49,.94) 0%, rgba(10,25,49,.82) 45%, rgba(10,25,49,.35) 100%);
}
.hero h1 { color: var(--white); max-width: 720px; }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d7deea; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Facts strip */
.facts { margin-top: -56px; position: relative; z-index: 2; }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.fact { padding: 28px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--navy); line-height: 1.2; }
.fact span { color: var(--muted); font-size: .98rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff4d6; color: var(--navy); margin-bottom: 20px;
}
.service__icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); flex: 1; }
.service__more { font-family: "Kanit", sans-serif; font-weight: 500; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.service__more svg { width: 18px; height: 18px; transition: transform .2s; }
.service:hover .service__more svg { transform: translateX(4px); }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; right: -16px; bottom: 28px;
  background: var(--yellow); color: var(--navy);
  border-radius: 12px; padding: 14px 20px; box-shadow: var(--shadow);
  font-family: "Kanit", sans-serif; line-height: 1.2;
}
.about__badge strong { display: block; font-size: 1.15rem; }
.about__badge span { font-size: .9rem; }
.about p { color: var(--muted); }
.quals { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.quals li { display: flex; gap: 14px; align-items: flex-start; }
.quals svg { width: 24px; height: 24px; flex: none; color: var(--blue); margin-top: 2px; }
.quals b { color: var(--navy); font-weight: 600; }

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  margin: 0;
  background: var(--navy-2); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.06);
}
.review__stars { color: var(--yellow); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 16px; }
.review blockquote { margin: 0 0 24px; color: #e3e8f1; font-size: 1.05rem; flex: 1; }
.review--placeholder blockquote { color: #8793a8; font-style: italic; }
.review__author { display: flex; align-items: center; gap: 14px; }
.review__author img, .review__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review__avatar { display: grid; place-items: center; background: var(--blue); color: var(--white); font-family: "Kanit", sans-serif; font-weight: 500; }
.review__author strong { display: block; color: var(--white); font-family: "Kanit", sans-serif; font-weight: 500; }
.review__author span { font-size: .9rem; color: #8f9bb0; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px;
  text-decoration: none; transition: box-shadow .2s, transform .2s;
}
a.partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner__logo { height: 96px; width: 100%; display: grid; place-items: center; margin-bottom: 18px; }
.partner__logo img { max-height: 96px; max-width: 200px; width: auto; object-fit: contain; }
.partner__logo--dark { background: var(--navy); border-radius: 10px; }
.partner__logo--dark img { max-height: 64px; }
.partner strong { font-family: "Kanit", sans-serif; font-weight: 500; color: var(--navy); font-size: 1.1rem; }
.partner span { color: var(--muted); font-size: .95rem; }

/* CTA */
.cta {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--navy) url(img/nacht-strasse.jpg) center / cover no-repeat;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,25,49,.88); }
.cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: #c9d1de; font-size: 1.125rem; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 18px 20px; text-decoration: none;
  transition: background .2s;
}
a.contact-item:hover { background: rgba(255,255,255,.14); }
.contact-item svg { width: 26px; height: 26px; color: var(--yellow); flex: none; }
.contact-item small { display: block; color: #9eabc0; font-size: .85rem; }
.contact-item strong { font-family: "Kanit", sans-serif; font-weight: 500; font-size: 1.1rem; overflow-wrap: anywhere; }

/* Footer */
.footer { background: #071225; color: #8f9bb0; padding: 48px 0 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }

/* Mobile action bar */
.action-bar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .services, .reviews { grid-template-columns: repeat(2, 1fr); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about, .cta__inner { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .services, .reviews, .partners { grid-template-columns: 1fr; }
  .facts { margin-top: -40px; }
  .fact { padding: 20px 16px; }
  .fact strong { font-size: 1.2rem; }
  .about__badge { right: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(10,25,49,.08);
  }
  .action-bar .btn { justify-content: center; padding: 12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Unterseiten ---------- */
.nav a[aria-current="page"]:not(.btn) { color: var(--blue); font-weight: 500; }

.page-hero {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--navy) center / cover no-repeat;
  padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,25,49,.95) 0%, rgba(10,25,49,.85) 55%, rgba(10,25,49,.55) 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 760px; }
.page-hero p { color: #d7deea; font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 620px; margin: 0; }
.crumbs { font-size: .9rem; color: #aab4c5; margin-bottom: 14px; }
.crumbs a { color: #aab4c5; text-decoration: none; }
.crumbs a:hover { color: var(--white); }

.lead { font-size: 1.2rem; color: var(--ink); max-width: 760px; }
.split { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 40px; }
.split h2:first-child { margin-top: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff4d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1931' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist b { color: var(--navy); font-weight: 600; }
.checklist--cols { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--yellow); font-family: "Kanit", sans-serif; font-weight: 600; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

.aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.aside-box { background: var(--bg-soft); border-radius: var(--radius); padding: 28px 24px; }
.aside-box h3 { font-size: 1.1rem; margin-bottom: 14px; }
.aside-box .checklist { gap: 10px; font-size: .98rem; }
.aside-box--dark { background: var(--navy); color: #cfd6e2; }
.aside-box--dark h3 { color: var(--white); }
.aside-box--dark p { margin-bottom: 16px; }
.aside-box--dark .btn { width: 100%; justify-content: center; margin-top: 8px; }

.note { border-left: 4px solid var(--yellow); background: #fffaf0; padding: 18px 22px; border-radius: 0 10px 10px 0; color: var(--ink); }

.cta-band { background: var(--navy); color: #cfd6e2; padding: 48px 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 4px; }
.cta-band p { margin: 0; }
.cta-band .hero__actions { flex: none; }

.more-services { display: flex; flex-wrap: wrap; gap: 10px; }
.more-services a {
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  font-family: "Kanit", sans-serif; color: var(--navy); transition: background .2s, border-color .2s;
}
.more-services a:hover { background: #fff4d6; border-color: var(--yellow); }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.member strong { display: block; font-family: "Kanit", sans-serif; font-weight: 500; color: var(--navy); font-size: 1.1rem; }
.member span { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-decoration: none; display: block; transition: box-shadow .2s, transform .2s; }
a.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px; }
.contact-card small { display: block; color: var(--muted); }
.contact-card strong { font-family: "Kanit", sans-serif; font-weight: 500; color: var(--navy); font-size: 1.15rem; overflow-wrap: anywhere; }

.legal { max-width: 800px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; }
.legal h4 { font-family: "Kanit", sans-serif; font-weight: 500; font-size: 1.05rem; margin: 1.4em 0 .4em; color: var(--navy); }
.legal p, .legal li { color: #3a4352; }
.legal a { color: var(--blue); overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .aside { position: static; }
  .steps, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards, .checklist--cols { grid-template-columns: 1fr; }
  .cta-band .hero__actions { width: 100%; }
  .cta-band .btn { flex: 1; justify-content: center; }
}

/* Über mich */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 40px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--blue);
}
.timeline li:last-child::before { background: var(--yellow); border-color: var(--yellow); }
.timeline strong { display: block; font-family: "Kanit", sans-serif; font-weight: 500; color: var(--navy); font-size: 1.1rem; }
.timeline span { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.figure { margin: 32px 0 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .gallery--3 { grid-template-columns: 1fr 1fr; } .gallery--3 figure:last-child { grid-column: 1 / -1; } .gallery--3 figure:last-child img { aspect-ratio: 16 / 9; } }

.stamp { display: block; width: 220px; height: auto; margin-top: 24px; color: var(--navy); }
@media (max-width: 640px) { .stamp { width: 180px; margin-inline: auto; } }

.about__photo--stamp { margin-bottom: 60px; }
.stamp--overlap {
  position: absolute; right: -70px; bottom: -60px; margin: 0;
  width: 190px; background: var(--white); border-radius: 50%;
  box-shadow: 0 10px 30px rgba(10, 25, 49, .18);
  transform: rotate(-8deg);
}
@media (max-width: 960px) { .stamp--overlap { right: -20px; } }
@media (max-width: 640px) { .stamp--overlap { width: 150px; right: 6px; bottom: -50px; margin: 0; } }

.logo img { height: 44px; width: auto; }
@media (max-width: 640px) { .logo img { height: 34px; } }
