/* Strandcafé — Demo für Meiers Seiten */

/* ==========================================================================
   Lokale Schriften - frueher via Google Fonts geladen, jetzt aus /fonts/
   Identische woff2-Dateien und Angaben wie von Google ausgeliefert
   (Subsets: latin + latin-ext).
   ========================================================================== */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../../../fonts/jost-variable-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../../../fonts/jost-variable-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../../../fonts/jost-variable-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../../../fonts/jost-variable-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../../../fonts/jost-variable-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../../../fonts/jost-variable-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/nunito-sans-variable-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/nunito-sans-variable-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/nunito-sans-variable-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/nunito-sans-variable-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/nunito-sans-variable-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/nunito-sans-variable-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sand: #e8dcc8;
  --sand-light: #f6f1e6;
  --sand-dark: #d8c8a8;
  --ocean: #4a7c96;
  --ocean-dark: #375f75;
  --ocean-deep: #2a4a5c;
  --white: #ffffff;
  --wood: #c9a876;
  --text: #2e3b40;
  --muted: #52616a;
  --radius: 1.4rem;
  --container: 1180px;
  --shadow: 0 18px 40px rgba(42, 74, 92, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--sand-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

h1,
h2,
h3,
.headline {
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: var(--ocean-deep);
}

h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

a {
  color: var(--ocean-dark);
}

section {
  position: relative;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(74, 124, 150, 0.35);
}

.btn-primary:hover {
  background: var(--ocean-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline.dark {
  color: var(--ocean-deep);
  border-color: var(--ocean-deep);
}

.btn-outline.dark:hover {
  background: var(--ocean-deep);
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.4rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Jost", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.brand span {
  color: var(--wood);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--wood);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

/* solid state once scrolled or on inner pages */
.site-header.solid,
.site-header.scrolled {
  background: rgba(246, 241, 230, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 6px 20px rgba(42, 74, 92, 0.08);
  padding: 0.9rem 0;
}

.site-header.solid .brand,
.site-header.scrolled .brand {
  color: var(--ocean-deep);
}

.site-header.solid .main-nav a,
.site-header.scrolled .main-nav a {
  color: var(--ocean-deep);
}

.site-header.solid .nav-toggle span,
.site-header.scrolled .nav-toggle span {
  background: var(--ocean-deep);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 74, 92, 0.55) 0%,
    rgba(42, 74, 92, 0.35) 45%,
    rgba(42, 74, 92, 0.75) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Platz fuer die Welle am unteren Rand: sie ist 120/1440 der Breite hoch
     (8.34vw), plus etwas Abstand - sonst schneidet sie Buttons/Text an.
     Oben derselbe Wert, damit der Text mittig bleibt und nicht am Header klebt. */
  padding-top: max(4rem, calc(8.4vw + 1.2rem));
  padding-bottom: calc(8.4vw + 1.2rem);
  min-width: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem);
  margin-bottom: 0.4em;
  max-width: 16ch;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  /* etwas hoeher als frueher, damit die Ueberschrift zwischen Header und
     Welle genug Luft hat - auch wenn sie zweizeilig umbricht */
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  /* der Abstand zur Welle steckt jetzt im Padding von .hero-inner */
  padding-bottom: 1.5rem;
}

.page-hero .hero-inner {
  padding-top: 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  max-width: 22ch;
}

/* ---------- Wave dividers ---------- */

.wave {
  display: block;
  width: 100%;
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero .wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 3;
  /* rein dekorativ - darf keine Klicks auf die Buttons darunter abfangen */
  pointer-events: none;
}

.wave-divider {
  background: var(--ocean-deep);
}

/* ---------- Intro ---------- */

.intro {
  background: var(--sand-light);
  padding: 5rem 0 4rem;
  text-align: center;
}

.intro .container {
  max-width: 760px;
}

.intro p.big {
  font-size: 1.2rem;
  color: var(--text);
}

/* ---------- Highlights ---------- */

.highlights {
  background: var(--sand-light);
  padding: 1rem 0 5rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
}

.highlight-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.highlight-card:hover img {
  transform: scale(1.06);
}

.highlight-card .content {
  padding: 1.6rem 1.7rem 1.9rem;
}

.highlight-card h3 {
  margin-bottom: 0.4em;
}

.highlight-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

/* ---------- Split section (image + text) ---------- */

.split {
  background: var(--ocean-deep);
  color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}

.split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.porthole {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  max-width: 420px;
  margin: 0 auto;
}

.porthole img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h2 {
  color: var(--white);
}

.split-text p {
  color: rgba(255, 255, 255, 0.78);
}

.split-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 2rem;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
}

.split-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wood);
  margin-top: 0.55em;
  flex-shrink: 0;
}

/* ---------- Gallery strip ---------- */

.gallery-strip {
  background: var(--sand-light);
  padding: 5rem 0;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.gallery-grid a {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.08);
}

/* ---------- Info band (hours + location) ---------- */

.info-band {
  background: var(--sand);
  padding: 5rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sand-dark);
  color: var(--text);
}

.hours-list li span:last-child {
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.site-footer h4 {
  font-family: "Jost", sans-serif;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--wood);
}

.footer-bottom {
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Speisekarte ---------- */

.menu-section {
  background: var(--sand-light);
  padding: 5.5rem 0;
}

.menu-category {
  max-width: 820px;
  margin: 0 auto 4rem;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-category-title h2 {
  margin: 0;
  white-space: nowrap;
}

.menu-category-title .line {
  height: 1px;
  background: var(--sand-dark);
  width: 100%;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--sand-dark);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-family: "Jost", sans-serif;
  font-size: 1.08rem;
  color: var(--ocean-deep);
  margin-bottom: 0.3em;
}

.menu-item-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: 46ch;
}

.menu-item-price {
  font-family: "Jost", sans-serif;
  color: var(--ocean-dark);
  font-weight: 500;
  white-space: nowrap;
  align-self: flex-start;
}

.menu-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Über uns ---------- */

.story {
  background: var(--sand-light);
  padding: 5.5rem 0;
}

.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values {
  background: var(--sand);
  padding: 5.5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 0 1rem;
}

.value-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--ocean);
  box-shadow: var(--shadow);
}

/* ---------- Kontakt ---------- */

.contact-section {
  background: var(--sand-light);
  padding: 5.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.6rem;
}

.contact-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(160deg, var(--sand-light), var(--sand));
  display: flex;
  align-items: center;
  padding: 2rem;
}

.map-note h3 {
  margin-bottom: 0.6rem;
}

.map-note p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.map-hint {
  font-size: 0.85rem;
  margin: 1rem 0 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  color: var(--ocean-deep);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--sand-dark);
  border-radius: 0.7rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--sand-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--ocean);
  outline-offset: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  margin: 1.2rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(74, 124, 150, 0.1);
  border: 1px solid rgba(74, 124, 150, 0.3);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

/* ---------- Browser surfaces ---------- */

::selection {
  background: var(--ocean);
  color: var(--white);
}

html {
  scrollbar-color: var(--ocean) var(--sand);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--sand);
}

::-webkit-scrollbar-thumb {
  background: var(--ocean);
  border-radius: 8px;
  border: 3px solid var(--sand);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ocean-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ocean-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero a:focus-visible,
.hero button:focus-visible,
.split a:focus-visible,
.site-footer a:focus-visible,
.site-header:not(.solid):not(.scrolled) a:focus-visible,
.site-header:not(.solid):not(.scrolled) .nav-toggle:focus-visible {
  outline-color: var(--white);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .split .container,
  .story .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    order: -1;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--sand-light);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 30px rgba(42, 74, 92, 0.15);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    color: var(--ocean-deep) !important;
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 60;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Rechtliche Links zur Hauptseite (Demo-Hinweis) */
.demo-note-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.demo-note-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-note-links a:hover,
.demo-note-links a:focus-visible {
  text-decoration-thickness: 2px;
}
