/* Süesses & Guet's – Entwurf
   Farben: Baselbieter Chriesi-Rot, Zopf-Gold, Brotkruste, Mehlweiss */

:root {
  --flour: #FFFCF7;
  --ink: #2B1A12;
  --ink-soft: #6B4A3A;
  --chriesi: #8A1E2E;
  --chriesi-dark: #6E1522;
  --zopf: #E9A23B;
  --crust: #A0582A;
  --creme: #F8E6E2;
  --line: #EADBCF;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1120px;
  --radius-lg: 28px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--flour);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}
h2 { font-size: clamp(2rem, 7vw, 2.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--zopf);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Baustellen-Leiste ---------- */
/* Alle Baustellen-Hinweise verschwinden, sobald <body> die Klasse "baustelle" nicht mehr hat */
body:not(.baustelle) [data-baustelle] { display: none; }

.baustelle-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px var(--gutter);
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(43,26,18,.08) 14px 28px),
    var(--zopf);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.baustelle-strip svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.wordmark-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--chriesi);
}
.wordmark-sub {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chriesi);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.header-call span { display: none; }
.header-call:hover { background: var(--chriesi-dark); }

.site-nav { border-top: 1px solid var(--line); }
.site-nav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.site-nav .wrap::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: none;
  padding: 12px 10px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--chriesi); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s, color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--chriesi); color: #fff; }
.btn-primary:hover { background: var(--chriesi-dark); }
.btn-ghost {
  background: transparent;
  color: var(--chriesi);
  box-shadow: inset 0 0 0 2px var(--chriesi);
}
.btn-ghost:hover { background: var(--chriesi); color: #fff; }

/* ---------- Platzhalter-Bilder ---------- */
.ph {
  --ph-bg: var(--crust);
  --ph-fg: rgba(255, 245, 230, .9);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px) 0 0 / 14px 14px,
    var(--ph-bg);
  color: var(--ph-fg);
}
.ph-icon { width: 42%; max-width: 180px; height: auto; }
.ph-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(43, 26, 18, .55);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
}
.ph-crust { --ph-bg: var(--crust); }
.ph-gold  { --ph-bg: #D98E2B; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 40px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .92rem;
  font-weight: 600;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #9B8B80;
}
.status.is-open .status-dot {
  background: #2F8A4A;
  box-shadow: 0 0 0 4px rgba(47,138,74,.18);
}

.hero-title {
  font-size: clamp(3.4rem, 17vw, 6.6rem);
  line-height: .95;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-title span {
  display: block;
  /* "Frenkendorf" ist das längste Wort: darf auf schmalen Handys nicht überlaufen */
  font-size: .82em;
}
.hero-lead {
  max-width: 34rem;
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.hero-figure { margin: 0; position: relative; }
.ph-arch {
  aspect-ratio: 4 / 4.4;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  --ph-bg: var(--crust);
}
.ph-arch .ph-label { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.hero-badge {
  position: absolute;
  right: -6px;
  top: 18%;
  display: grid;
  place-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--zopf);
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
  transform: rotate(8deg);
  box-shadow: 0 0 0 6px var(--flour);
}
.hero-badge strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; padding: 0 10px; }
.hero-badge span { font-size: .78rem; margin-top: 4px; padding: 0 12px; }

/* Einmaliger Auftritt beim Laden: Titel und Bogen */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes stamp {
  from { opacity: 0; transform: rotate(-20deg) scale(.6); }
  to   { opacity: 1; transform: rotate(8deg) scale(1); }
}
.hero-title { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-figure .ph-arch { animation: rise .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero-badge { animation: stamp .5s .7s cubic-bezier(.3,1.5,.5,1) both; }

/* ---------- Sektionen ---------- */
.section { padding: 64px 0; }
section[id] { scroll-margin-top: 100px; }
.section-head { max-width: 38rem; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--ink-soft); }

/* Angebot */
.offer-list { display: grid; gap: 28px; }
.offer {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: start;
}
.offer .ph-sq {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
}
/* Auf dem Handy ist das Bild klein: Beschriftung ausblenden, Symbol grösser */
.offer .ph-sq .ph-label { display: none; }
.offer .ph-sq .ph-icon { width: 70%; }
.offer-body h3 { margin-bottom: 6px; }
.offer-body p { color: var(--ink-soft); }

/* Torten */
.torten {
  background: var(--creme);
  border-radius: 40px 40px 0 0;
}
.torten-grid { display: grid; gap: 40px; }
.torten-lead { margin-top: 14px; font-size: 1.1rem; color: var(--ink-soft); max-width: 36rem; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 32px 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 58px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--chriesi);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px; top: 44px; bottom: -18px;
  border-left: 2px dotted rgba(138, 30, 46, .35);
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-soft); margin-top: 2px; }

.btn-call { width: 100%; min-height: 60px; font-size: 1.1rem; }
.torten-note { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); text-align: center; }

.ph-cake {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  --ph-bg: var(--chriesi);
  --ph-fg: #FBE3E6;
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line);
  margin: 0 10px;
}
.ph-cake .ph-label { left: 50%; bottom: 16%; transform: translateX(-50%); white-space: nowrap; }

/* Öffnungszeiten */
#zeiten { background: var(--creme); padding-top: 8px; }
#zeiten .wrap { background: var(--flour); border-radius: var(--radius-lg); padding-top: 36px; padding-bottom: 36px; }
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.hours th,
.hours td {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  text-align: left;
  vertical-align: top;
}
.hours th { font-weight: 600; padding-right: 12px; white-space: nowrap; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td span { color: var(--ink-soft); }
.hours tr.closed { color: #9B8B80; }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--chriesi); }
.hours tr.is-today th::after {
  content: "heute";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--chriesi);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  vertical-align: 2px;
}

/* Anfahrt */
.anfahrt { background: var(--creme); }
.anfahrt-grid { display: grid; gap: 32px; }
.notice {
  display: flex;
  gap: 14px;
  margin: 22px 0 26px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(-45deg, transparent 0 16px, rgba(43,26,18,.06) 16px 32px),
    var(--zopf);
  color: var(--ink);
}
.notice svg { flex: none; color: var(--ink); }
.notice-title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; margin-bottom: 6px; }
.address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.ph-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  --ph-bg: #E9D6C4;
  background: #E9D6C4;
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: relative; transform: translate(-10%, -20%); filter: drop-shadow(0 4px 4px rgba(43,26,18,.25)); }

/* Kontakt */
.kontakt { background: var(--chriesi); color: #fff; }
.kontakt-lead { margin-top: 12px; max-width: 34rem; color: #F6D9DD; }
.kontakt-grid { display: grid; gap: 14px; margin-top: 28px; }
.kontakt-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  text-decoration: none;
}
a.kontakt-item:hover { background: rgba(255,255,255,.18); }
.kontakt-label { font-size: .88rem; color: #F6D9DD; }
.kontakt-value { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #E8D9CE;
  padding: 40px 0 32px;
  font-size: .95rem;
}
.footer-inner { display: grid; gap: 8px; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.site-footer a { color: #fff; }
.footer-links { display: flex; gap: 8px; margin-top: 10px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 14px;
}
.credit { margin-top: 18px; font-size: .78rem; color: #A89488; }

/* Rechtliche Seiten */
.legal .wrap { max-width: 44rem; }
.legal h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
.legal h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.legal p + p { margin-top: 10px; }
.legal-hint {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--creme);
  font-size: .95rem;
}

/* ---------- Ab Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .offer-list { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .offer { grid-template-columns: 1fr; gap: 16px; }
  .offer .ph-sq { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .offer .ph-sq .ph-label { display: block; }
  .offer .ph-sq .ph-icon { width: 42%; }
  .kontakt-grid { grid-template-columns: 1fr 1fr; }
  .btn-call { width: auto; }
  .torten-note { text-align: left; }
  .header-call span { display: inline; }
  .header-call { padding: 0 20px; }
}

/* ---------- Ab Desktop ---------- */
@media (min-width: 960px) {
  .header-inner { min-height: 72px; }
  .site-nav .wrap { justify-content: center; gap: 20px; }

  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
  .hero-badge { width: 150px; height: 150px; right: -28px; }

  .section { padding: 96px 0; }

  /* Angebot: versetzte Anordnung wie eine Auslage */
  .offer-list { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .offer:nth-child(even) { margin-top: 56px; }
  .offer .ph-sq { aspect-ratio: 3 / 4; }

  .torten-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; }
  .torten { border-radius: 64px 64px 0 0; }

  #zeiten { padding-top: 0; }
  #zeiten .wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: start;
    padding: 56px 64px;
  }

  .anfahrt-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-links { justify-content: flex-end; margin-top: 0; }
  .credit { grid-column: 1 / -1; }
}
