/* Zulassung Pieske – statisches Stylesheet (kein Framework, keine externen Ressourcen) */

:root {
  --navy: #22445f;
  --gold: #b8792b;
  --gold-light: #e0a656;
  --ink: #140000;
  --text: #545454;
  --muted: #8e8e8e;
  --bar: #20292c;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f2f2f2;
  --maxw: 1220px;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 15px/1.75 var(--font);
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.1rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-weight: 400; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px;
}
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Action bar ---------- */
.action-bar { background: var(--bar); color: #fff; font-size: 13px; }
.action-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.action-bar .slogan { font-weight: 700; margin: 0; font-size: 13px; color: #fff; }
.action-bar a { color: var(--gold-light); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.action-bar a:hover { color: #fff; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.logo img { width: 80px; height: auto; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 0 20px; line-height: 90px;
  color: #444; text-decoration: none; font-size: 15px;
  position: relative;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px;
  background: var(--ink); transform: scaleX(0); transition: transform .2s;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after,
.main-nav > ul > li.is-parent > a::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }

.main-nav .sub {
  display: block; position: absolute; top: 100%; right: 0; min-width: 200px;
  background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { line-height: 1.4; padding: 12px 20px; font-size: 14px; border-top: 1px solid var(--line); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 50px 0; }
.section--tight { padding: 30px 0; }
.center { text-align: center; }
.lead { font-size: 1.05rem; }

.intro h1 { margin-top: 30px; }

.hero { margin: 0; }
.hero img { width: 100%; height: auto; aspect-ratio: 1920 / 750; object-fit: cover; }

/* Kacheln (Sliding Box) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { text-decoration: none; color: var(--ink); display: block; text-align: center; }
.card .photo { overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .photo img { transform: scale(1.05); }
.card h2 { font-size: 1.1rem; font-weight: 400; margin: 20px 0 0; padding-bottom: 18px; position: relative; }
.card h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 2px;
  background: var(--ink); transform: translateX(-50%); transition: width .25s;
}
.card:hover h2::after { width: 120px; }

.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote strong { color: var(--ink); }

/* Öffnungszeiten + Kontaktbox */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.hours { background: var(--bg-soft); padding: 30px; text-align: center; }
.hours h2 { text-decoration: underline; text-underline-offset: 5px; }
.hours dl { margin: 0; }
.hours dt { font-size: 1.1rem; color: var(--ink); margin-top: 18px; }
.hours dd { margin: 2px 0 0; color: var(--text); }

.contact-box { background: var(--navy); color: #fff; padding: 30px; }
.contact-box h2 { color: #fff; font-size: 1.3rem; }
.contact-box ul { list-style: none; margin: 0; padding: 0; }
.contact-box li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-box li:first-child { border-top: 0; }
.contact-box .icon { width: 20px; height: 20px; margin-top: 4px; fill: var(--gold-light); }
.contact-box a { color: #fff; }
.contact-box a:hover { color: var(--gold-light); }

/* Google Maps (2-Klick-Lösung) */
.map-consent {
  position: relative; aspect-ratio: 16 / 9; max-height: 450px; width: 100%;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.map-consent p { max-width: 560px; margin: 0 auto 16px; font-size: 14px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.btn {
  display: inline-block; cursor: pointer; border: 0;
  background: var(--ink); color: #fff; padding: 12px 26px;
  font: 700 14px/1.2 var(--font); text-decoration: none; transition: background .2s;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); padding-left: 0; padding-right: 0; text-decoration: underline; font-weight: 400; }
.btn--ghost:hover { background: transparent; color: var(--gold); }

/* Kontaktseite */
.contact-hero {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), #1a1a1a url("../img/kontakt-bg-1920.webp") center top / cover no-repeat;
  color: #fff; padding: 40px 0 60px;
}
@media (max-width: 960px) { .contact-hero { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("../img/kontakt-bg-960.webp"); } }
.contact-hero .intro-text { text-align: center; margin-bottom: 30px; }
.contact-hero .intro-text h1 { color: #fff; font-size: 1.15rem; }
.contact-hero .intro-text p { font-size: 1.05rem; margin: 0; }

.form-box { background: #fff; padding: 24px; color: var(--text); }
.form-box label { display: block; margin-bottom: 14px; font-size: 14px; color: var(--ink); }
.form-box input, .form-box textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  font: 15px/1.4 var(--font); color: var(--ink);
  border: 1px solid #cfcfcf; background: #fafafa; border-radius: 0;
}
.form-box textarea { min-height: 170px; resize: vertical; }
.form-box input:focus, .form-box textarea:focus { border-color: var(--navy); background: #fff; outline: none; }
.form-box input:user-invalid, .form-box textarea:user-invalid { border-color: #c0392b; }
.form-box .hint { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.form-status { margin-top: 12px; font-size: 14px; }

/* Rechtstexte */
.legal { max-width: 900px; }
.legal h1 { font-size: 1.8rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal table { border-collapse: collapse; }
.legal td { padding: 2px 16px 2px 0; vertical-align: top; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); color: var(--muted); font-size: 13px; padding: 30px 0; text-align: center; }
.site-footer nav { margin-top: 6px; }
.site-footer a { color: var(--muted); margin: 0 8px; }
.site-footer a:hover { color: var(--ink); }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(20,0,0,.75); color: #fff; border-radius: 2px; text-decoration: none;
}
.to-top svg { width: 18px; height: 18px; fill: currentColor; }
.to-top:hover { background: var(--gold); color: #fff; }

/* ---------- Animation (wie Original: dezentes Einblenden) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fadeUp .7s ease both; }
  .reveal--d1 { animation-delay: .1s; }
  .reveal--d2 { animation-delay: .2s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-header .container { min-height: 70px; }
  .logo img { width: 62px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.08); display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { line-height: 1.4; padding: 14px 20px; border-top: 1px solid var(--line); }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .main-nav .sub a { padding-left: 40px; }
  .main-nav a[aria-current="page"] { font-weight: 700; }

  .cards, .split { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
}

@media (max-width: 520px) {
  .action-bar .slogan { width: 100%; }
}

@media print {
  .action-bar, .nav-toggle, .main-nav, .to-top, .map-consent { display: none !important; }
  .site-header { position: static; box-shadow: none; }
}

.mt-30 { margin-top: 30px; }
.mt-14 { margin-top: 14px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
