/* ==========================================================================
   Käpt'n Hook – Restaurant & Eiscafé
   Statisches CSS, keine externen Abhängigkeiten
   ========================================================================== */

:root {
  --navy-900: #0c1c2e;
  --navy-800: #0f2740;
  --navy-700: #16324f;
  --navy-600: #1e3f61;
  --green: #51b283;
  --green-dark: #439871;
  --cream: #f6eee1;
  --white: #ffffff;
  --text-body: #3c4a56;
  --text-on-dark: #cdd9e2;
  --text-on-dark-muted: #b6c6d1;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-pill: 999px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 10px 30px rgba(12, 28, 46, 0.08);
  --container-width: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0 0 16px; color: var(--navy-700); line-height: 1.15; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; }

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

/* ---------- Skip link ---------- */
.skip-to-content {
  position: absolute;
  top: -50px;
  left: 16px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-to-content:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-md { padding: 13px 26px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 15px; }

.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn-solid:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-outline {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-700);
}
.btn-outline-dark:hover { background: var(--navy-700); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 12px;
}
.eyebrow-light { color: var(--green); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(28px, 3.5vw, 38px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(22, 50, 79, 0.08);
}
.navbar {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy-700);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-700);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { border-bottom-color: var(--green); }
.nav-cta { margin-left: 8px; }
.nav-link-legal { display: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-700);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background-image: linear-gradient(160deg, rgba(22, 50, 79, 0.92) 0%, rgba(15, 39, 64, 0.92) 60%, rgba(19, 50, 77, 0.92) 100%), url("assets/images/hero-restaurant.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 24px 90px;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 24px;
}
.hero-text {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-on-dark);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero .btn-row { justify-content: center; margin-bottom: 28px; }
.hero-meta {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hero-meta .dot { opacity: 0.6; }

/* ---------- About ---------- */
.about { background: var(--cream); padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
}
.about-content h2 { font-size: clamp(28px, 3.5vw, 38px); }
.about-content p { font-size: 17px; color: var(--text-body); }

/* ---------- Spezialitäten ---------- */
.spec { background: var(--white); padding: 96px 0; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.spec-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(22, 50, 79, 0.06);
}
.spec-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 65%; }
.spec-card h3 { font-size: 19px; margin: 20px 20px 8px; }
.spec-card p { font-size: 15px; margin: 0 20px 20px; color: var(--text-body); }

.section-cta { text-align: center; margin-top: 48px; }

/* ---------- Gründe / Reasons ---------- */
.reasons { background: var(--white); padding: 96px 0; }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.reason-card { text-align: center; padding: 8px; }
.reason-icon {
  font-size: 34px;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason-card h3 { font-size: 17px; }
.reason-card p { font-size: 14.5px; color: var(--text-body); }

/* ---------- Testimonials ---------- */
.testi { background: var(--cream); padding: 96px 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 0;
  box-shadow: var(--shadow-card);
}
.quote-mark {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.testi-card p { font-size: 16px; color: var(--navy-700); margin: 0; font-style: italic; }

/* ---------- Galerie ---------- */
.gallery { background: var(--white); padding: 96px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 65%;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 12px 16px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-700);
}

.gallery-subhead {
  text-align: center;
  font-size: 21px;
  color: var(--green-dark);
  margin: 0 0 24px;
}
.gallery-grid + .gallery-subhead { margin-top: 56px; }

/* ---------- Kontakt ---------- */
.contact { background: var(--cream); padding: 96px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-info address { font-style: normal; font-size: 16px; margin-bottom: 20px; line-height: 1.8; }
.contact-phone {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.opening-note { font-size: 14.5px; color: var(--text-body); margin-bottom: 28px; }

.map-widget {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  color: #fff;
}
.map-pin { font-size: 40px; margin-bottom: 12px; }
.map-address { font-size: 16px; margin-bottom: 20px; color: var(--text-on-dark); }
.map-address strong { color: #fff; }
.map-consent-note {
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
  max-width: 320px;
  margin-bottom: 24px;
}
.map-widget iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Closing CTA ---------- */
.closing {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-800));
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.closing-inner { max-width: 620px; margin: 0 auto; }
.closing h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.closing p { color: var(--text-on-dark); font-size: 17px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-muted); padding: 56px 0 24px; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo { font-family: var(--font-heading); font-size: 22px; color: #fff; margin-bottom: 8px; }
.footer-brand p { margin: 0 0 4px; font-size: 14.5px; }
.footer-phone { display: inline-block; margin-top: 8px; color: var(--green); font-weight: 600; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer-link { font-size: 14.5px; }
.footer-link:hover { color: #fff; }
.footer-bottom { padding-top: 20px; font-size: 12.5px; color: rgba(182, 198, 209, 0.7); }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal-page { padding: 72px 0 96px; }
.legal-content { max-width: 760px; }
.legal-content h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; margin-top: 40px; }
.legal-content p, .legal-content li { font-size: 16px; color: var(--text-body); }
.legal-list { padding-left: 20px; margin-bottom: 16px; }
.legal-list li { margin-bottom: 6px; }
.legal-content em { color: var(--green-dark); font-style: normal; font-weight: 600; }
.legal-note {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-body);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-widget { order: -1; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(22, 50, 79, 0.08);
    box-shadow: var(--shadow-card);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(22, 50, 79, 0.06); }
  .nav-link-legal { display: block; font-size: 13px; color: var(--text-body); font-weight: 400; }
  .nav-cta { margin: 12px 0 0; }

  .hero { padding: 72px 20px 64px; }
  .about, .spec, .reasons, .testi, .gallery, .contact { padding: 64px 0; }
  .closing { padding: 64px 0; }

  .spec-grid, .reasons-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 480px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}
