/* ====================================================
   TRANSPORTFIX AACHEN, style.css (v3, Redesign 2026-09)
   ==================================================== */

@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: 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: 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'); }

:root {
  --navy:      #002B7F;
  --navy-dark: #001138;
  --navy-line: #1A2A5C;
  --royal:     #1055B5;
  --orange:    #F28C1E;
  --white:     #FFFFFF;
  --light:     #F0F3F9;
  --text:      #0B1430;
  --text-mid:  #4A5573;
  --text-soft: #C9D6EE;
  --text-dim:  #9DB8EA;
  --whatsapp:  #25D366;
  --whatsapp-dark: #1DB954;
  --font-body: 'Barlow', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --swap-cycle: 6s;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.55; font-size: 16px; background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; font-weight: 800; text-wrap: pretty; }
p { text-wrap: pretty; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 80px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* BUTTONS (eckig, uppercase) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 30px; font-family: var(--font-body); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.05em; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--orange { background: var(--orange); color: var(--text); border-color: var(--orange); }
.btn--orange:hover { background: #F79A3A; border-color: #F79A3A; }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--outline-soft { background: transparent; color: var(--white); border-color: #5B7CC0; }
.btn--outline-soft:hover { border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--royal); border-color: var(--royal); }
.btn--dark { background: var(--text); color: var(--white); border-color: var(--text); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }
.btn--xl { padding: 20px 30px; font-size: 20px; }
.btn .icon { width: 20px; height: 20px; }

/* SECTION HEADINGS */
.section-title { font-size: 64px; color: var(--text); }
.section-title--light { color: var(--white); }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-intro p { font-size: 18px; color: var(--text-mid); max-width: 460px; }

/* HEADER */
.header { background: var(--navy-dark); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.header__logo { display: flex; align-items: center; gap: 14px; color: var(--white); }
.header__logo img { width: 54px; height: 54px; border-radius: 50%; background: var(--white); }
.header__logo span { font-family: var(--font-head); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__nav a:not(.header__phone) { font-size: 15px; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; transition: color .15s ease; }
.header__nav a:not(.header__phone):hover { color: var(--white); }
.header__phone { display: flex; align-items: center; gap: 14px; background: var(--orange); color: var(--text); padding: 10px 24px; transition: background .15s ease; }
.header__phone:hover { background: #F79A3A; }
.header__phone .icon { width: 24px; height: 24px; }
.header__phone-text { display: flex; flex-direction: column; gap: 2px; }
.header__phone-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.header__phone-number { font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1; }

.header__burger { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.header__burger span { display: block; width: 22px; height: 2px; background: var(--white); }
.header__mobile-nav { display: none; flex-direction: column; background: var(--navy-dark); padding: 8px 20px 24px; border-top: 1px solid var(--navy-line); }
.header__mobile-nav.open { display: flex; }
.header__mobile-nav a:not(.btn) { padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--navy-line); }
.header__mobile-nav .btn { margin-top: 16px; }

/* HERO */
.hero { position: relative; min-height: 680px; background: var(--navy); overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; right: 0; top: 0; width: 44%; height: 100%; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__content { position: relative; width: 100%; padding-top: 80px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__content > * { max-width: 760px; }
.hero__badge { display: inline-flex; align-self: flex-start; background: var(--orange); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 12px; }
.hero h1 { font-size: 96px; color: var(--white); display: flex; flex-direction: column; }
.hero__swap { position: relative; display: block; }
.hero__swap-b { display: block; opacity: 0; }
.hero__swap-a { position: absolute; left: 0; top: 0; display: block; }
.hero__sub { font-size: 20px; line-height: 1.5; color: #D6E1F5; max-width: 580px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* WECHSEL-ANIMATION (Headline + Hero-Bild synchron) */
@keyframes tf-swap-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes tf-swap-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.tf-swap-a { animation: tf-swap-a var(--swap-cycle) ease-in-out infinite; }
.tf-swap-b { animation: tf-swap-b var(--swap-cycle) ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .tf-swap-a, .tf-swap-b { animation: none; }
  .tf-swap-b { opacity: 0; }
}

/* STAT STRIP */
.stats { background: var(--navy-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 28px 40px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--navy-line); }
.stat:last-child { border-right: none; }
.stat strong { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--orange); line-height: 1; }
.stat span { font-size: 14px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* LEISTUNGEN */
.leistungen { padding: 88px 0; }
.leistungen__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--light); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; color: var(--text); transition: transform .15s ease; }
.tile:hover { transform: translateY(-3px); }
.tile .icon { width: 34px; height: 34px; color: var(--navy); }
.tile__body { display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-size: 26px; font-weight: 700; }
.tile p { font-size: 14px; line-height: 1.5; color: var(--text-mid); }
.tile__price { font-size: 15px; font-weight: 700; color: var(--royal); }
.tile--accent { background: var(--navy); color: var(--white); }
.tile--accent .icon { color: var(--orange); }
.tile--accent p { color: var(--text-soft); }
.tile--accent .tile__price { color: var(--orange); }

/* KÜCHENAUFBAU */
.kueche { background: var(--navy-dark); color: var(--white); }
.kueche__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kueche__text { padding: 88px 80px 88px 0; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.kueche__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.kueche h2 { font-size: 64px; }
.kueche__text > p { font-size: 18px; line-height: 1.55; color: var(--text-soft); max-width: 520px; }
.kueche__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding-top: 8px; }
.kueche__checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.kueche__checks .icon { width: 18px; height: 18px; color: var(--orange); }
.kueche__prices { list-style: none; border-top: 1px solid var(--navy-line); margin-top: 8px; }
.kueche__prices li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--navy-line); font-size: 16px; }
.kueche__prices li span:first-child { color: var(--text-soft); }
.kueche__prices li strong { font-weight: 700; white-space: nowrap; }
.kueche__prices li strong.highlight { color: var(--orange); }
.kueche__text .btn { align-self: flex-start; }
.kueche__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px 300px; }
.kueche__media img { width: 100%; height: 100%; object-fit: cover; }
.kueche__media img:first-child { grid-column: span 2; }
.kueche__media img.top { object-position: center top; }

/* PREISE */
.preise { padding: 88px 0; }
.preise__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.preis-panel { border: 2px solid var(--text); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.preis-panel h3 { font-size: 24px; font-weight: 700; }
.preis-panel ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.preis-panel li { display: flex; justify-content: space-between; gap: 12px; }
.preis-panel li span:first-child { color: var(--text-mid); }
.preis-panel li span:last-child { font-weight: 700; white-space: nowrap; text-align: right; }
.preis-panel--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.preis-panel--navy li span:first-child { color: var(--text-soft); }
.preis-panel--cta { background: var(--orange); border-color: var(--orange); justify-content: center; gap: 12px; }
.preis-panel--cta h3 { font-size: 30px; font-weight: 800; }
.preis-panel--cta p { font-size: 15px; line-height: 1.5; }
.preis-panel--cta .btn { padding: 14px 20px; font-size: 15px; }

/* ÜBER UNS + FAHRZEUG */
.ueber { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ueber img { width: 100%; height: 480px; object-fit: cover; }
.ueber__text { background: var(--orange); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ueber__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ueber h2 { font-size: 44px; }
.ueber__text > p { font-size: 16px; line-height: 1.55; }
.ueber__specs { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; padding-top: 12px; border-top: 1px solid rgba(11,20,48,.25); }

/* ANFRAGE (Formular) */
.anfrage { background: var(--light); padding: 88px 0; position: relative; }
.anfrage__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.anfrage__text { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
.anfrage h2 { font-size: 64px; }
.anfrage__text p { font-size: 17px; line-height: 1.55; color: var(--text-mid); }
.anfrage__hinweis a { text-decoration: underline; }
.anfrage__form { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 2px solid var(--text); padding: 32px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.form__field input, .form__field select, .form__field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--text); background: var(--white); border: 2px solid #C9D0DE; padding: 12px 14px; min-height: 48px; width: 100%; border-radius: 0; -webkit-appearance: none; appearance: none; }
.form__field select { background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form__field textarea { resize: vertical; min-height: 88px; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,43,127,.15); }
.form__field input::placeholder, .form__field textarea::placeholder { color: #8A93A8; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__datenschutz { font-size: 13px; color: var(--text-mid); }
.form__datenschutz a { text-decoration: underline; }
.anfrage__form .btn { align-self: flex-start; }
.anfrage__form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form__status { padding: 14px 16px; font-size: 15px; font-weight: 600; border: 2px solid; }
.form__status--ok { color: #0F5132; background: #E6F4EA; border-color: #0F5132; }
.form__status--error { color: #842029; background: #FBE9EB; border-color: #842029; }

/* FAQ */
.faq { padding: 88px 0; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.faq__head { display: flex; flex-direction: column; gap: 16px; }
.faq__head p { font-size: 17px; line-height: 1.5; color: var(--text-mid); }
.faq__list { border-top: 2px solid var(--text); }
.faq__item { border-bottom: 1px solid #D5DCEA; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; width: 14px; height: 14px; flex-shrink: 0; background: linear-gradient(var(--royal), var(--royal)) center/100% 2px no-repeat, linear-gradient(var(--royal), var(--royal)) center/2px 100% no-repeat; transition: transform .2s ease; }
.faq__item[open] summary::after { background: linear-gradient(var(--royal), var(--royal)) center/100% 2px no-repeat; }
.faq__item p { font-size: 15px; line-height: 1.55; color: var(--text-mid); padding: 0 40px 22px 0; }

/* KONTAKT */
.kontakt { background: var(--navy); color: var(--white); padding: 96px 0; }
.kontakt__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.kontakt__text { display: flex; flex-direction: column; gap: 16px; }
.kontakt h2 { font-size: 72px; max-width: 700px; }
.kontakt__text p { font-size: 18px; color: var(--text-soft); max-width: 520px; line-height: 1.5; }
.kontakt__buttons { display: flex; flex-direction: column; gap: 12px; min-width: 320px; }

/* FOOTER */
.footer { background: var(--navy-dark); color: var(--text-dim); font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--white); }

/* RECHTSSEITEN */
.legal-page .header__nav a:not(.header__phone) { color: var(--text-soft); }
.legal { padding: 64px 0 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: 56px; margin-bottom: 32px; }
.legal h2 { font-size: 26px; font-weight: 700; margin: 32px 0 10px; }
.legal p { margin-bottom: 12px; color: var(--text-mid); line-height: 1.65; }
.legal a { color: var(--royal); text-decoration: underline; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .section-title { font-size: 52px; }
  .hero h1 { font-size: 80px; }
  .header__nav a:not(.header__phone) { display: none; }
  .leistungen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { min-height: 240px; }
  .preise__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kueche h2 { font-size: 52px; }
  .kueche__text { padding-right: 40px; }
  .kontakt h2 { font-size: 56px; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .anfrage__grid { grid-template-columns: 1fr; gap: 32px; }
  .anfrage__text { position: static; }
  .anfrage h2 { font-size: 52px; }
}

@media (max-width: 820px) {
  .container { padding: 0 20px; }
  .header__logo span { font-size: 19px; }
  .header__logo img { width: 40px; height: 40px; }
  .header__nav { gap: 10px; }
  .header__phone { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header__phone-text { display: none; }
  .header__burger { display: flex; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero__media { position: relative; width: 100%; height: 300px; }
  .hero__content { padding-top: 28px; padding-bottom: 36px; gap: 18px; }
  .hero h1 { font-size: 48px; }
  .hero__sub { font-size: 16px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 18px 20px; border-bottom: 1px solid var(--navy-line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat strong { font-size: 30px; }
  .stat span { font-size: 12px; }

  .section-title { font-size: 44px; }
  .section-intro { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .leistungen { padding: 48px 0; }
  .leistungen__grid { grid-template-columns: 1fr; gap: 10px; }
  .tile { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 20px; gap: 12px; }
  .tile .icon { width: 26px; height: 26px; }
  .tile__body { flex-direction: row; align-items: center; gap: 14px; flex: 1; }
  .tile h3 { font-size: 22px; }
  .tile p { display: none; }
  .tile__price { white-space: nowrap; }

  .kueche__grid { grid-template-columns: 1fr; }
  .kueche__media { order: -1; grid-template-columns: 1fr; grid-template-rows: 220px; }
  .kueche__media img:not(:first-child) { display: none; }
  .kueche__text { padding: 40px 0 48px; gap: 20px; }
  .kueche h2 { font-size: 44px; }
  .kueche__text > p { font-size: 16px; }
  .kueche__checks { grid-template-columns: 1fr; }
  .kueche__prices li { font-size: 15px; padding: 12px 0; }
  .kueche__text .btn { align-self: stretch; }

  .preise { padding: 48px 0; }
  .preise__grid { grid-template-columns: 1fr; }
  .preis-panel { padding: 20px; }
  .preis-panel h3 { font-size: 22px; }

  .ueber { grid-template-columns: 1fr; }
  .ueber img { height: 220px; }
  .ueber img:first-child { display: none; }
  .ueber__text { padding: 40px 20px; order: -1; }
  .ueber h2 { font-size: 40px; }

  .anfrage { padding: 48px 0; }
  .anfrage__grid { grid-template-columns: 1fr; gap: 24px; }
  .anfrage__text { position: static; }
  .anfrage h2 { font-size: 44px; }
  .anfrage__form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .anfrage__form .btn { align-self: stretch; }

  .faq { padding: 48px 0; }
  .faq__item summary { font-size: 17px; padding: 18px 0; }

  .kontakt { padding: 48px 0; }
  .kontakt__inner { flex-direction: column; align-items: stretch; }
  .kontakt h2 { font-size: 48px; }
  .kontakt__buttons { min-width: 0; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .legal h1 { font-size: 40px; }
}
