/* CamperTouren – Startseite
   Stand: 06.10.2026
   Referenz: Bereinigtes Layout ohne Überlagerungskonflikte
*/

:root {
  --ink: #071b3b;
  --orange: #f65a0a;
  --orange-dark: #e94b00;
  --paper: #ffffff;
  --soft: #fbf8f2;
  --line: #e8ded2;
  --max: 1180px;
  --brush-opacity: .60;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.28;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.section-wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  height: 84px;
  background: #fff;
  border-top: 2px solid var(--orange);
  box-shadow: 0 1px 7px rgb(0 0 0 / 8%);
  position: relative;
  z-index: 20;
}
.header-inner {
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; height: 66px; }
.brand-logo { width: auto; max-width: 230px; max-height: 62px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-self: stretch; gap: 34px; white-space: nowrap; }
.main-nav a { display: flex; align-items: center; position: relative; font-size: 15px; }
.main-nav a.active { color: var(--orange); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); }
.header-tools { display: flex; align-items: center; gap: 24px; }
.search { font-size: 34px; line-height: 1; transform: rotate(-18deg); }
.languages { display: flex; gap: 8px; font-size: 19px; }

/* ==========================================================================
   HERO / BANNER (RESPONSIVE)
   ========================================================================== */
.hero {
  min-height: 390px;
  position: relative;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 70 150 / 4%), rgb(55 20 0 / 4%)); pointer-events: none; }
.hero-inner { width: min(1200px, calc(100% - 48px)); min-height: 390px; margin: auto; position: relative; z-index: 1; }
.hero-claim {
  position: absolute; left: 28px; bottom: 56px;
  color: #fff; font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(28px, 3vw, 43px); line-height: 1.18; transform: rotate(-7deg);
  text-shadow: 0 2px 4px rgb(0 0 0 / 45%);
}
.hero-claim::after { content: ""; display: block; width: 170px; height: 8px; margin: 5px 0 0 55px; background: var(--orange); transform: skewX(-20deg); }

.hero-brushes { 
  position: absolute; 
  right: 24px; 
  top: 38px; 
  width: min(395px, 100% - 48px); 
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 5;
}
.brush {
  display: block; 
  width: 100%; 
  max-width: 330px; 
  padding: 5px 20px 8px; 
  color: #fff; 
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(24px, 3.2vw, 44px); 
  line-height: 1.12; 
  text-align: center;
  box-sizing: border-box;
  clip-path: polygon(3% 13%, 98% 0, 93% 23%, 100% 36%, 95% 55%, 98% 77%, 87% 86%, 91% 100%, 2% 89%, 8% 70%, 0 58%, 5% 39%, 0 25%);
  margin-top: -3px;
}
.brush-yellow { color: #5b2e09; background: rgb(247 185 43 / var(--brush-opacity)); transform: rotate(-7deg); }
.brush-orange { background: rgb(214 71 37 / var(--brush-opacity)); transform: rotate(-6deg); margin-right: 4px; }
.brush-green { background: rgb(45 92 52 / var(--brush-opacity)); transform: rotate(-6deg); margin-right: 8px; }

/* ==========================================================================
   TEXT / MANIFEST
   ========================================================================== */
.full-width-intro { padding-top: 30px; text-align: left; }
.full-width-intro h1 { text-align: center; margin: 0; font-size: clamp(48px, 6vw, 66px); line-height: 1; letter-spacing: -2px; font-weight: 800; }
.full-width-intro h2 { text-align: center; color: var(--orange); margin-bottom: 34px; font-size: 20px; }
.content-manifest h3 { color: var(--ink); border-bottom: 2px solid var(--line); padding-bottom: 6px; margin-bottom: 12px; font-size: 19px; }
.content-manifest p { font-size: 15px; line-height: 1.4; color: #333; }
.schnittmenge-box { margin-top: 32px; background: var(--soft); border-left: 4px solid var(--orange); padding: 18px 24px; border-radius: 0 4px 4px 0; }
.schnittmenge-box h3 { margin: 0 0 8px 0; font-size: 18px; color: var(--ink); }
.schnittmenge-box p { margin: 0; font-size: 15px; line-height: 1.45; }

/* ==========================================================================
   ICONS / REISEFORMEN
   ========================================================================== */
.vehicle-row-container { padding: 20px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.vehicle-row { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; text-align: center; }
.vehicle-row > div { display: grid; justify-items: center; }
.vehicle-symbol { font-size: 43px; line-height: 1; filter: grayscale(1) saturate(4); }
.vehicle-symbol.accent { color: var(--orange); filter: none; font-weight: 800; }
.vehicle-row small { font-size: 12px; line-height: 1.1; margin-top: 5px; }

/* ==========================================================================
   PRAXIS-ZONE (FORMULAR & DIY)
   ========================================================================== */
.praxis-zone { padding: 20px 0 50px; }
.praxis-zone h2 { font-size: 32px; margin: 0 0 6px 0; text-align: center; letter-spacing: -0.5px; }
.praxis-sub { text-align: center; margin: 0 0 40px 0; font-size: 16px; color: #555; }
.praxis-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.praxis-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }

.card-visual { height: 200px; background: #fff8ea; position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.diy-visual { background: #f5f5f5; }
.diy-visual img { width: 100%; height: 100%; object-fit: cover; }

.badge-country, .badge-diy { position: absolute; left: 16px; top: 16px; color: #fff; background: rgb(200 62 34 / 90%); font-family: "Segoe Print", "Comic Sans MS", cursive; padding: 4px 14px; font-size: 14px; transform: rotate(-3deg); border-radius: 2px; z-index: 5; }
.badge-diy { background: rgb(45 92 52 / 90%); transform: rotate(2deg); }

.form-preview-container { position: relative; width: 220px; height: 160px; }
.f-img { position: absolute; width: 110px; height: 142px; object-fit: contain; background: #fff; border: 1px solid #cfc7bc; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: transform 0.2s; }
.f-one { left: 20px; top: 10px; transform: rotate(-8deg); }
.f-two { left: 90px; top: 20px; transform: rotate(6deg); z-index: 2; }

.card-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { margin: 0 0 10px 0; font-size: 20px; color: var(--ink); }
.card-content p { margin: 0 0 20px 0; font-size: 14.5px; line-height: 1.45; color: #444; flex-grow: 1; }
.direct-link { display: inline-block; align-self: flex-start; color: var(--orange); font-weight: bold; font-size: 15px; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.direct-link:hover { border-color: var(--orange); }

/* ==========================================================================
   LINKS & GALERIE
   ========================================================================== */
.useful-links { padding-top: 3px; }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.section-title-row > h2 { margin: 0; font-size: 28px; letter-spacing: -.5px; }
.section-title-row > a { color: var(--orange); font-size: 13px; white-space: nowrap; }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.link-card { min-height: 68px; border: 1px solid #ddd8d1; border-radius: 4px; display: grid; grid-template-columns: 62px 1fr 16px; align-items: center; gap: 10px; padding: 6px 12px; background: #fff; }
.link-icon { color: var(--orange); font-size: 38px; font-weight: 700; text-align: center; }
.link-card strong { display: block; font-size: 15px; }
.link-card small { display: block; font-size: 12px; line-height: 1.15; }
.link-card b { font-size: 28px; font-weight: 400; }

.gallery { padding-top: 55px; padding-bottom: 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-grid img { width: 100%; height: 90px; object-fit: cover; border-radius: 4px; }

/* ==========================================================================
   FOOTER (RESPONSIVE)
   ========================================================================== */
.site-footer { 
  background: #faf8f5; 
  border-top: 1px solid #eee7df; 
  padding: 20px 0;
}
.footer-inner { 
  min-height: 52px; 
  display: grid; 
  grid-template-columns: 1fr auto 125px; 
  gap: 24px; 
  align-items: center; 
  font-size: 12px; 
}
.footer-inner nav { 
  display: flex; 
  gap: 17px; 
  align-items: center; 
  flex-wrap: wrap;
}
.copyright { white-space: nowrap; color: var(--ink); }
.footer-mark { display: flex; justify-content: flex-end; align-items: center; }
.footer-mark img { display: block; width: 115px; height: 42px; object-fit: contain; object-position: right center; }

/* ==========================================================================
MEDIA QUERIES (RESPONSIVE BEREINIGT)
========================================================================== */
@media (max-width: 1050px) {
.header-inner { grid-template-columns: 220px 1fr auto; }
.main-nav { gap: 18px; }
.main-nav a { font-size: 13px; }
.languages { gap: 4px; }
}
@media (max-width: 820px) {
.site-header { height: auto; }
.header-inner { grid-template-columns: 1fr auto; padding: 8px 0; }
.main-nav { grid-column: 1 / -1; order: 3; overflow-x: auto; justify-content: flex-start; height: 42px; }
.main-nav a.active::after { bottom: 2px; }
.hero, .hero-inner { min-height: 340px; }
.full-width-intro { text-align: left; }
.schnittmenge-box { padding: 14px 18px; }
.praxis-split { grid-template-columns: 1fr; gap: 24px; }
.praxis-zone { padding-bottom: 30px; }
.praxis-sub { margin-bottom: 24px; }
.link-grid { grid-template-columns: 1fr; gap: 8px; }
.gallery-grid { grid-template-columns: repeat(2, 1fr); }
.gallery-grid img { height: 140px; }
.footer-inner {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 16px;
padding: 10px 0;
}
.footer-inner nav { justify-content: center; gap: 8px 14px; }
.footer-mark { justify-content: center; width: 100%; margin-top: 4px; }
.footer-mark img { object-position: center; }
}
@media (max-width: 560px) {
.section-wrap, .header-inner, .hero-inner { width: min(100% - 24px, var(--max)); }
.header-tools { gap: 10px; }
.languages { font-size: 16px; }
.hero, .hero-inner { min-height: 300px; }
.hero-brushes { top: 20px; right: 12px; width: calc(100% - 24px); }
.brush { font-size: 20px; max-width: 260px; padding: 4px 12px; }
.vehicle-row { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
.gallery-grid { grid-template-columns: 1fr; }
.gallery-grid img { height: 180px; }
}
/* WordPress-News – ergänzt, ohne vorhandene Bereiche zu verändern */
.news { padding-top: 45px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; }
.news-card h3 { margin: 0 0 10px; font-size: 18px; }
.news-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.45; flex-grow: 1; }
.gallery-grid a { display: block; min-width: 0; }
@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr; gap: 12px; } }

/* 11.10.2026 – erkennbare Textlinks im Seiteninhalt */
.text-link { color: var(--orange-dark); font-style: italic; }
.text-link:hover, .text-link:focus-visible { color: var(--ink); }
.directory-link { font-style: normal; font-weight: 700; }
.intro-directory-link { margin: 20px 0 0; font-size: 16px; line-height: 1.5; }

/* 11.10.2026 – Link „Der illegale Camper“ in den Reiseformen klar sichtbar */
.vehicle-row-container p a.text-link,
.vehicle-row-container p a.text-link:visited {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.vehicle-row-container p a.text-link:hover,
.vehicle-row-container p a.text-link:focus-visible {
  color: var(--ink);
  text-decoration-thickness: 3px;
}
