/* Self-hosted Barlow (Businessplan-Schrift) – keine externen Requests, kein Tracking */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/barlow-light.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-medium.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-bold.woff2") format("woff2");
}

:root {
  --color-ink: #20212e;
  --color-ink-soft: #44464e;
  --color-muted: #6a6b6f;
  --color-line: #dadde2;
  --color-paper: #ffffff;
  --color-cloud: #f4f2f3;
  --color-accent: #c3d217;
  --color-accent-soft: #edf2d2;
  --color-accent-deep: #5c6406;
  --shadow: 0 24px 80px rgba(32, 33, 46, 0.14);
  --shadow-soft: 0 12px 35px rgba(32, 33, 46, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --focus-ring: 0 0 0 3px rgba(32, 33, 46, 0.18), 0 0 0 6px var(--color-accent);
  --font-sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-cloud);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background:
    linear-gradient(180deg, rgba(244, 242, 243, 0.94), rgba(255, 255, 255, 0.98)),
    var(--color-cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 28px 24px 0;
}

/* ---------- Notice (Urlaubshinweis o. ä.) ---------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(92, 100, 6, 0.18);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

.notice__icon {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-accent-deep);
  background: rgba(255, 255, 255, 0.7);
}

.notice__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.notice__body {
  flex: 1 1 auto;
  min-width: 0;
}

.notice__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}

.notice__text {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.notice__text strong {
  color: var(--color-ink);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(32, 33, 46, 0.1);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.42) 100%),
    linear-gradient(180deg, rgba(244, 242, 243, 0.24), rgba(32, 33, 46, 0.2));
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 560px;
  padding: 40px;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(280px, 58vw);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(32, 33, 46, 0.12);
  border-radius: 999px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.status-pill__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(195, 210, 23, 0.28);
}

.hero__copy {
  align-self: center;
  width: min(710px, 100%);
  padding: 36px 0 30px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 3.75rem);
}

h1:focus {
  outline: none;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
}

.hero__copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--color-ink-soft);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.contact-card svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button--primary {
  color: var(--color-ink);
  background: var(--color-accent);
  box-shadow: 0 10px 24px rgba(195, 210, 23, 0.32);
}

.button--primary:hover {
  background: var(--color-accent-soft);
}

.button--secondary {
  color: var(--color-ink);
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.88);
}

.button--secondary:hover {
  border-color: var(--color-ink);
  background: var(--color-paper);
}

/* ---------- Contact ---------- */

.contact-section {
  padding: 52px 0 40px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 33, 46, 0.12);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 26px;
  border-right: 1px solid rgba(32, 33, 46, 0.1);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.contact-card:last-child {
  border-right: 0;
}

.contact-card:hover {
  background: rgba(244, 242, 243, 0.55);
}

.contact-card:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: 0;
}

.contact-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-accent-deep);
  background: var(--color-accent-soft);
}

.contact-card__body {
  display: block;
}

.contact-card strong,
.contact-card .contact-card__body span {
  display: block;
}

.contact-card strong {
  margin: 0 0 6px;
  font-size: 18px;
}

.contact-card .contact-card__body span {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ---------- Hours + Map ---------- */

.details-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 18px;
  padding: 0 0 82px;
}

.hours-panel,
.map-panel {
  border: 1px solid rgba(32, 33, 46, 0.12);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.hours-panel {
  padding: 34px;
}

.hours-panel .section-heading {
  margin-bottom: 22px;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.hours-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 15px 0;
  border-top: 1px solid rgba(32, 33, 46, 0.1);
}

.hours-list div:first-child {
  border-top: 0;
}

.hours-list dt,
.hours-list dd {
  margin: 0;
  line-height: 1.45;
}

.hours-list dt {
  color: var(--color-ink);
  font-weight: 700;
}

.hours-list dd {
  color: var(--color-ink-soft);
  font-variant-numeric: tabular-nums;
}

.hours-list dd.is-closed {
  color: var(--color-muted);
}

.map-panel {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: var(--color-ink);
}

.map-panel iframe {
  width: 100%;
  min-height: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-consent {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(195, 210, 23, 0.12), transparent 60%),
    linear-gradient(180deg, var(--color-paper), var(--color-cloud));
}

.map-consent__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 360px;
}

.map-consent__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-accent-deep);
  background: var(--color-accent-soft);
}

.map-consent__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.map-consent__title {
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 700;
}

.map-consent__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

.map-consent .button {
  margin-top: 4px;
}

.map-consent__link {
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-consent__link:hover {
  color: var(--color-accent-deep);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 28px 24px 36px;
  border-top: 1px solid rgba(32, 33, 46, 0.1);
  color: var(--color-muted);
  font-size: 14px;
}

.site-footer__name {
  margin: 0;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__sep {
  color: var(--color-line);
}

/* ---------- Legal subpages ---------- */

.subpage-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 28px 24px 54px;
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: var(--color-ink);
}

.legal-panel {
  padding: 48px;
  border: 1px solid rgba(32, 33, 46, 0.12);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow);
}

.legal-panel h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.legal-panel h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  line-height: 1.25;
}

.legal-panel p,
.legal-panel li {
  margin: 0 0 14px;
  color: var(--color-ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.legal-panel ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-panel li:last-child {
  margin-bottom: 0;
}

.legal-panel a {
  color: var(--color-ink);
  font-weight: 700;
  text-underline-offset: 2px;
}

.legal-panel .placeholder {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  font-size: 0.92em;
  font-weight: 600;
}

.legal-note {
  margin-top: 36px;
  padding: 20px 22px;
  border-left: 4px solid var(--color-accent);
  border-radius: 6px;
  background: rgba(195, 210, 23, 0.1);
}

.legal-note p {
  margin: 0;
  color: var(--color-ink-soft);
}

.legal-meta {
  margin-top: 32px;
  color: var(--color-muted);
  font-size: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .page-shell {
    padding: 16px 16px 0;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 62%, rgba(244, 242, 243, 0.72) 100%);
  }

  .hero__content {
    padding: 28px;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero__copy {
    padding: 64px 0 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-card:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(32, 33, 46, 0.1);
  }

  .contact-card:last-child {
    border-bottom: 0;
  }

  .details-section {
    grid-template-columns: 1fr;
  }

  .legal-panel {
    padding: 36px;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .brand {
    width: min(100%, 320px);
  }

  .status-pill {
    font-size: 13px;
  }

  .hero__content {
    padding: 22px;
  }

  .hero__copy {
    padding: 48px 0 34px;
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .contact-section {
    padding: 44px 0 30px;
  }

  .contact-card {
    padding: 22px;
  }

  .hours-panel {
    padding: 24px;
  }

  .hours-list div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 13px 0;
  }

  .map-consent {
    padding: 26px 20px;
  }

  .subpage-shell {
    padding: 18px 16px 42px;
  }

  .subpage-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .legal-panel {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }

  .button:hover {
    transform: none;
  }
}
