/* Shared homepage design. Loaded only by the two public homepages. */
:root {
  --ink: #202b31;
  --text: #37464d;
  --muted: #59676e;
  --soft: #f4f6f7;
  --line: #dbe1e4;
  --yellow: #f7cd32;
  --dark: #202b31;
  --accent: #f7cd32;
  --tint: #fff8dc;
  --accent-ink: #685000;
  --max-width: 1240px;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}
.theme-red { --accent: #b51f38; --red: #b51f38; --tint: #fcf0f1; --accent-ink: #a21930; }
html { scroll-padding-top: 110px; scroll-padding-bottom: 100px; }
body { min-width: 0; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: #dbe5eb; }
a, button, input, select, textarea { scroll-margin-block: 110px; }
:focus-visible { outline: 3px solid #17649c; outline-offset: 5px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #17649c; outline-offset: 2px; box-shadow: none; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: 12px; padding: 12px 20px; background: #fff; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100% - 48px, var(--max-width)); }
.site-header { background: #fff; box-shadow: none; backdrop-filter: none; }
.header-shell { min-height: 90px; }
.brand-logo { width: 174px; height: 72px; }
.nav a { font-weight: 600; min-height: 44px; padding-inline: 13px; }
.nav a:last-child { background: var(--tint); color: var(--accent-ink); }
.nav a:hover { background: var(--accent); color: var(--ink); }
.theme-red .nav a:hover { background: var(--red); color: #fff; }
.header-call { border-radius: 6px; box-shadow: none; }
.hero { display: block; min-height: 0; overflow: visible; background: var(--tint); color: var(--ink); }
.hero::before, .hero::after { display: none; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; padding-block: 62px; }
.hero-inner, .theme-red .hero-inner { max-width: none; border: 0; padding: 0; min-width: 0; }
.hero .eyebrow, .hero.kranken .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent-ink); margin-bottom: 22px; }
.hero .eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--accent); flex-shrink: 0; }
.eyebrow { text-transform: none; font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--accent-ink); }
h1 { color: var(--ink); font-size: clamp(38px, 4.5vw, 64px); line-height: 1.07; letter-spacing: -.045em; font-weight: 750; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.14; letter-spacing: -.035em; font-weight: 700; }
h3 { letter-spacing: -.02em; font-size: 23px; }
.lead { color: var(--text); font-size: 19px; max-width: 48ch; line-height: 1.65; margin-top: 24px; }
.hero-actions { gap: 12px; margin-top: 28px; }
.button { min-height: 52px; padding: 15px 20px; box-shadow: none; border-radius: 6px; font-size: 15px; font-weight: 700; transition: background-color 160ms ease, color 160ms ease; }
.button:hover, .button:focus-visible { transform: none; box-shadow: none; filter: none; text-decoration: underline; text-underline-offset: 4px; }
.button.primary:hover, .header-call:hover { background: #e7bb18; }
.theme-red .button.primary:hover, .theme-red .header-call:hover { background: #97172c; }
.hero .button.dark { background: transparent; color: var(--ink); border-color: #7c8588; backdrop-filter: none; }
.hero .button.dark:hover { background: #fff; }
.hero-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; margin: 0; min-width: 0; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; border-radius: 24px 24px 72px 24px; }
.hero-visual figcaption { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 13px 18px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 650; }
.hero-links { display: flex; gap: 12px 28px; flex-wrap: wrap; border-top: 1px solid #d9d1ad; padding-block: 18px; }
.theme-red .hero-links { border-color: #e8cdd1; }
.hero-links a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 650; }
.hero-links a::after { content: "↓"; font-size: 18px; color: var(--accent-ink); }
.hero-links a[href^="https:"]::after { content: "↗"; }
.hero-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.quick-contact, .theme-red .quick-contact { padding: 28px 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.quick-grid { gap: 0; }
.quick-link, .theme-red .quick-link { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; padding: 14px 24px; display: flex; align-items: flex-start; flex-direction: column; gap: 7px; }
.quick-link:first-child { padding-left: 0; }
.quick-link:last-child { border-right: 0; }
.quick-link:hover, .quick-link:focus-visible, .theme-red .quick-link:hover { background: var(--tint); box-shadow: none; transform: none; }
.quick-link span { font-size: 15px; font-weight: 600; }
.quick-link strong { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; }
.quick-link em { font-weight: 400; color: var(--muted); }
.contact-email { color: var(--muted); justify-content: flex-start; font-size: 14px; }
.contact-email a { color: var(--ink); }
.section { padding-block: 88px; }
.section-intro { margin-bottom: 40px; }
.section-intro.centered { margin-inline: 0; text-align: left; }
.section-intro p { max-width: 65ch; font-size: 18px; }
#ueber-uns .about-copy { max-width: var(--max-width); display: grid; grid-template-columns: .9fr 1.1fr; gap: 0 72px; align-items: start; }
#ueber-uns .about-copy .eyebrow { grid-column: 1; grid-row: 1; }
#ueber-uns .about-copy h2 { grid-column: 1; grid-row: 2 / 4; }
#ueber-uns .about-copy p:not(.eyebrow) { grid-column: 2; grid-row: auto; margin: 0 0 16px; font-size: 17px; color: var(--muted); }
#ueber-uns .about-copy p:nth-child(3) { grid-row: 1 / 3; }
.service-stack { gap: 56px; }
.service-row { gap: 56px; grid-template-columns: 1fr 1fr; }
.service-row img { height: auto; aspect-ratio: 1.5; border-radius: 16px; box-shadow: none; }
.service-copy, .service-row.reverse .service-copy { border: 0; padding: 0; }
.service-copy p { max-width: 48ch; font-size: 17px; }
.service-copy h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.feature-strip, .order-layout { gap: 64px; grid-template-columns: 1fr 1fr; }
.feature-photo { height: auto; border-radius: 18px; aspect-ratio: 1.3; object-fit: cover; box-shadow: none; }
#fahrdienst.section.yellow { border-radius: 0; }
#fahrdienst.section.yellow::before { display: none; }
#fahrdienst .eyebrow { color: var(--yellow); }
.card { box-shadow: none; border-radius: 12px; }
.partner-card, .image-card { transition: none; }
.partner-card:hover, .image-card:hover { transform: none; box-shadow: none; }
.partner-card { border: 0; background: var(--soft); }
.partner-card img { height: auto; aspect-ratio: 1.5; }
.partner-card .card-body { padding: 24px; min-height: 0; }
.theme-red .grid.services { gap: 24px; }
.theme-red .image-card { border: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; align-items: center; }
.theme-red .image-card img { width: 100%; height: 100%; min-height: 220px; aspect-ratio: auto; }
.theme-red .image-card .card-body { min-height: 0; padding: 24px; }
.theme-red .section.yellow { background: var(--tint); color: var(--text); }
.theme-red .section.yellow h2 { color: var(--ink); }
.theme-red .section.yellow p:not(.eyebrow) { color: var(--text); }
.theme-red .section.yellow .eyebrow { color: var(--accent-ink); }
.journey { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: journey; }
.journey li { counter-increment: journey; position: relative; padding: 0 0 24px 54px; }
.journey li::before { content: counter(journey); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; background: var(--tint); color: var(--accent-ink); border-radius: 50%; font-weight: 700; }
.journey strong { display: block; color: var(--ink); }
.journey p { margin: 5px 0 0; color: var(--muted); }
.delivery-visual { box-shadow: none; border: 1px solid var(--line); border-radius: 14px; }
.delivery-visual-head span { text-transform: none; }
.price { padding: 28px; }
.price strong { font-variant-numeric: tabular-nums; }
.form-panel { padding: 32px; border-radius: 16px; box-shadow: none; }
.form-panel h3 { margin-bottom: 8px; }
.form-panel > .note { margin: 0 0 24px; }
input, select, textarea { border-color: #8b969c; border-radius: 6px; font-size: 16px; }
.form-grid > *, .feature-strip > *, .order-layout > *, .grid > * { min-width: 0; }
.form-consent, .footer { overflow-wrap: anywhere; }
.footer { padding-top: 44px; }
.footer::before { display: none; }
.footer a { display: inline-block; padding-block: 10px; text-underline-offset: 4px; }
.footer a:hover { color: #f7cd32; }
.mobile-callbar { box-shadow: none; }
.mobile-callbar a:hover { text-decoration: underline; }
.theme-red .mobile-callbar a:hover { background: #97172c; }
.delivery-compact { border-block: 1px solid var(--line); background: var(--soft); padding-block: 44px; }
.delivery-compact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.delivery-compact h2 { font-size: 28px; }
.delivery-compact p { max-width: 58ch; }
.delivery-details { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.delivery-details summary { padding: 22px; cursor: pointer; color: var(--ink); font-weight: 700; touch-action: manipulation; }
.delivery-details summary:hover { background: var(--tint); }
.delivery-details-content { padding: 0 22px 22px; }
.delivery-details .form-panel { padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.delivery-rates { margin: 20px 0; }
.delivery-rates > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.delivery-rates dd { margin: 0; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .delivery-compact-layout { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 1099px) {
  .hero-content { gap: 28px; }
  .theme-red .image-card { grid-template-columns: 120px 1fr; }
  .theme-red .image-card .card-body { padding: 20px; }
  .feature-strip, .order-layout { gap: 36px; }
}
@media (max-width: 899px) {
  html { scroll-padding-top: 145px; }
  .site-header { position: relative; }
  .header-shell { min-height: 0; }
  .brand-logo { width: 154px; height: 64px; }
  .nav { flex-wrap: wrap; gap: 0 4px; overflow: visible; }
  .nav a { padding-inline: 10px; }
  .hero-content { grid-template-columns: 1fr; padding-block: 38px 28px; gap: 30px; }
  .hero-inner { max-width: 620px; }
  h1 { font-size: clamp(36px, 7vw, 56px); }
  .hero-visual img { aspect-ratio: 1.75; border-radius: 16px 16px 48px 16px; }
  .hero-links { gap: 0 24px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-link, .quick-link:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
  .quick-link:last-child { border-bottom: 0; }
  .theme-red .quick-grid { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .service-row, .feature-strip, .order-layout { grid-template-columns: 1fr; gap: 28px; }
  .service-row img { max-height: 420px; }
  #ueber-uns .about-copy { display: block; }
  .service-stack { gap: 48px; }
  .grid.three { grid-template-columns: 1fr; }
  .partner-card { display: grid; grid-template-columns: 180px 1fr; }
  .partner-card img { height: 100%; }
  .theme-red .grid.services { grid-template-columns: 1fr; }
  .theme-red .image-card { grid-template-columns: 180px 1fr; }
  .theme-red .image-card img { min-height: 180px; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 479px) {
  .wrap { width: calc(100% - 36px); }
  .hero .eyebrow { font-size: 14px; margin-bottom: 16px; }
  .lead { font-size: 17px; margin-top: 20px; }
  .hero-actions { display: grid; }
  .hero-visual img { aspect-ratio: 1.25; }
  .hero-visual figcaption { left: 12px; bottom: 12px; padding: 10px 12px; font-size: 13px; }
  .hero-links { gap: 0 20px; }
  .quick-link, .quick-link:first-child { flex-direction: column; align-items: flex-start; gap: 5px; }
  .theme-red .image-card, .partner-card { grid-template-columns: 1fr; }
  .theme-red .image-card img, .partner-card img { height: auto; aspect-ratio: 1.6; min-height: 0; }
  .form-panel { padding: 24px 18px; }
  .brand-logo { width: 140px; }
  .header-call { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
