@import url("fonts/fonts.css");
/* ============================================================
   Al Nour Bäckerei — Langenhagen
   "Orientalisch & warm" · Brot- und Goldtöne, Bögen, Sternornament
   Fonts: Playfair Display (Display) · DM Sans (Text) · Amiri (Arabisch)
   ============================================================ */

:root {
  --sand: #F4E8CE;
  --surface: #FBF4E1;
  --surface-2: #EBDCBB;
  --roast: #2A1B0D;          /* tiefes Röstbraun */
  --ink: #2E200F;
  --ink-soft: #6D5836;
  --line: #E2CEA3;
  --gold: #A9741A;           /* Akzent, textsicher auf Sand */
  --gold-bright: #C89530;
  --gold-deep: #8A5C14;
  --ember: #A82818;          /* Logo-Rot, sparsamer Akzent */
  --shadow: 60 40 16;

  --bg: var(--sand);
  --card: var(--surface);
  --card-2: var(--surface-2);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --border: var(--line);
  --accent: var(--gold);
  --accent-bright: var(--gold-bright);
  --grain: .04;
  --pat: 138 92 20;          /* Muster-Tinte */

  --maxw: 1180px;
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --arabic: "Amiri", "Geeza Pro", serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --r: 16px;
  --arch: 46% 46% 14px 14px / 36% 36% 14px 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191106; --card: #241906; --card-2: #2F2210; --roast: #12100A;
    --fg: #F3E7CC; --fg-soft: #CBB587; --border: #3E2E16;
    --accent: #D6A63E; --accent-bright: #E7BC57; --gold: #D6A63E; --gold-deep: #B98A2A;
    --ember: #D46A50; --shadow: 0 0 0; --grain: .055; --pat: 214 166 62;
  }
}
:root[data-theme="light"] {
  --bg: var(--sand); --card: var(--surface); --card-2: var(--surface-2); --roast: #2A1B0D;
  --fg: var(--ink); --fg-soft: var(--ink-soft); --border: var(--line);
  --accent: var(--gold); --accent-bright: var(--gold-bright); --gold: #A9741A; --gold-deep: #8A5C14;
  --ember: #A82818; --shadow: 60 40 16; --grain: .04; --pat: 138 92 20;
}
:root[data-theme="dark"] {
  --bg: #191106; --card: #241906; --card-2: #2F2210; --roast: #12100A;
  --fg: #F3E7CC; --fg-soft: #CBB587; --border: #3E2E16;
  --accent: #D6A63E; --accent-bright: #E7BC57; --gold: #D6A63E; --gold-deep: #B98A2A;
  --ember: #D46A50; --shadow: 0 0 0; --grain: .055; --pat: 214 166 62;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.66;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: var(--grain); mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Sternornament als Maske (Khatam) */
.pattern { position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background: rgb(var(--pat));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.1'%3E%3Crect x='16' y='16' width='32' height='32'/%3E%3Crect x='16' y='16' width='32' height='32' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.1'%3E%3Crect x='16' y='16' width='32' height='32'/%3E%3Crect x='16' y='16' width='32' height='32' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 64px 64px; mask-size: 64px 64px;
}

/* Ornament-Trenner mit Stern */
.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 22px; height: 22px; }

.eyebrow { font-family: var(--arabic); color: var(--gold); font-size: 20px; letter-spacing: 0; }
.eyebrow-sm { font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 600; color: var(--gold); }

/* ---------- Nav ---------- */
header.bar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--border);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand .mk { width: 36px; height: 36px; flex: none; }
.brand .nm { display: flex; flex-direction: column; line-height: 1.05; }
.brand .nm b { font-family: var(--display); font-weight: 700; font-size: 19px; }
.brand .nm small { font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-soft); margin-top: 2px; }
nav.links { display: flex; gap: 28px; align-items: center; }
nav.links a:not(.btn) { text-decoration: none; font-size: 14.5px; color: var(--fg-soft); font-weight: 500; transition: color .2s var(--ease); }
nav.links a:not(.btn):hover { color: var(--accent); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer; transition: .2s var(--ease); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { transform: scale(.94); }
.burger { display: none; }

.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn-primary { background: var(--accent); color: #2A1B0D; }
:root[data-theme="dark"] .btn-primary { color: #1A1206; }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 12px 26px rgb(var(--shadow) / .26); }
.btn-ghost { border-color: var(--gold-deep); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Bogen-Rahmen (Foto-Platzhalter) ---------- */
.arch { position: relative; overflow: hidden; border-radius: var(--arch); border: 1px solid var(--gold-deep);
  background-image:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 62%),
    radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--ember) 12%, transparent), transparent 60%);
  background-color: var(--card-2); display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent); }
.arch .ph-ar { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--arabic); font-size: 46%; color: var(--gold); opacity: .12; }
.arch > svg { width: 15%; min-width: 44px; max-width: 68px; height: auto; opacity: .8; stroke: var(--gold); fill: none; stroke-width: 1.3; position: relative; z-index: 1; }
.arch::after { content: attr(data-label); position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero .pattern { opacity: .085; }
.hero-glow { position: absolute; z-index: 0; width: 640px; height: 640px; border-radius: 50%; right: -170px; top: -220px; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 32%, transparent), transparent 66%); filter: blur(12px); opacity: .75; }
/* großes النور-Wasserzeichen füllt die rechte Seite (wie das OG-Banner) */
.hero-wm { position: absolute; z-index: 0; right: -1%; top: 50%; transform: translateY(-46%); font-family: var(--arabic); font-size: clamp(230px, 34vw, 470px); line-height: 1; color: var(--gold); opacity: .12; pointer-events: none; user-select: none; white-space: nowrap; }
.hero-in { position: relative; z-index: 1; padding: 50px 0 62px; }
.hero-copy { position: relative; z-index: 1; max-width: 62%; }
.hero .eyebrow { display: block; margin-bottom: 6px; }
.hero .eyebrow-sm { display: block; margin-bottom: 16px; }
.hero-rule { display: flex; align-items: center; gap: 14px; margin: 30px 0 18px; color: var(--gold); }
.hero-rule::before { content: ""; width: 84px; height: 1px; background: var(--gold); }
.hero-rule svg { width: 20px; height: 20px; }
.hero h1 { font-size: clamp(44px, 6vw, 74px); line-height: 1.02; letter-spacing: -0.015em; font-weight: 800; }
.hero h1 .em { color: var(--gold); font-style: italic; font-weight: 700; }
.hero .lead { max-width: 42ch; margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--fg-soft); }
.meta-row strong { color: var(--fg); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 1px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .55; }
.hero-arch { aspect-ratio: 4 / 5; max-height: 500px; }
.hero-arch > svg { max-width: 84px; }
.hero-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 16px; font-size: 14px; color: var(--fg-soft); }
.hero-cap b { color: var(--fg); }

/* ---------- Sektionen ---------- */
section { padding: 90px 0; position: relative; }
.sec-head { max-width: 60ch; margin-bottom: 20px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; }
.sec-head p { color: var(--fg-soft); margin: 14px 0 0; font-size: 18px; }
.sec-orn { margin-bottom: 34px; }
.ar-label { font-family: var(--arabic); color: var(--gold); font-weight: 400; font-size: 0.92em; }

/* ---------- Sortiment (Bögen) ---------- */
.sortiment { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.prod { display: flex; flex-direction: column; text-align: center; }
.prod .arch { aspect-ratio: 3 / 4; margin-bottom: 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.prod:hover .arch { transform: translateY(-5px); box-shadow: 0 20px 40px rgb(var(--shadow) / .16); }
.prod h3 { font-size: 21px; line-height: 1.2; }
.prod .ar-label { display: block; margin-top: 3px; font-size: 17px; }
.prod p { color: var(--fg-soft); font-size: 14.5px; line-height: 1.55; margin: 10px auto 0; max-width: 30ch; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* ---------- Handwerk: dunkle Röst-Bande ---------- */
.band { position: relative; overflow: hidden; background: var(--roast); color: #F3E7CC; }
.band .pattern { background: rgb(214 166 62); opacity: .07; }
.band-in { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.band .arch { background-color: rgba(255,255,255,.03); border-color: #6E5324; }
.band .arch::after { color: #CBB587; background: rgba(0,0,0,.35); }
.band .arch > svg, .band .arch .ph-ar { stroke: #E7BC57; color: #E7BC57; }
.band h2 { color: #FBF4E1; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; }
.band p { color: #D8C6A2; font-size: 17.5px; margin: 18px 0 0; max-width: 52ch; }
.band .word { font-family: var(--arabic); font-size: 22px; color: #E7BC57; }
.band-arch { aspect-ratio: 5 / 6; max-height: 440px; }
@media (max-width: 820px) { .band-in { grid-template-columns: 1fr; gap: 32px; } .band-arch { max-height: 360px; } }

/* ---------- Bewertungen ---------- */
.reviews { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rev-score { text-align: center; margin-bottom: 30px; }
.rev-score b { font-family: var(--display); font-size: 52px; line-height: 1; display: block; }
.rev-score .stars { font-size: 20px; }
.rev-score span { font-size: 13.5px; color: var(--fg-soft); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; position: relative; }
.quote .qm { font-family: var(--display); font-size: 54px; line-height: .5; color: var(--gold); opacity: .45; }
.quote .stars { font-size: 14px; }
.quote p { margin: 10px 0 18px; font-size: 15.5px; line-height: 1.55; font-family: var(--display); font-style: italic; }
.quote .who { font-size: 13.5px; color: var(--fg-soft); border-top: 1px solid var(--border); padding-top: 14px; }
.quote .who b { color: var(--fg); font-weight: 600; font-style: normal; font-family: var(--sans); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Besuchen ---------- */
.visit-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .visit-in { grid-template-columns: 1fr; gap: 30px; } }
.info-list { display: flex; flex-direction: column; }
.info-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.info-row:first-child { padding-top: 0; }
.info-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--card-2); display: grid; place-items: center; color: var(--gold); }
.info-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-row .k { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: var(--fg-soft); font-weight: 600; }
.info-row .v { font-size: 17px; margin-top: 3px; }
.info-row .v a { color: var(--gold); text-decoration: none; font-weight: 600; }
.info-row .v a:hover { text-decoration: underline; }
.hours { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.hours h3 { font-size: 22px; margin-bottom: 14px; }
.hours .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.hours .row:last-child { border-bottom: 0; }
.hours .row.closed { color: var(--fg-soft); }
.hours .row .t { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours .note { font-size: 12.5px; color: var(--fg-soft); margin: 14px 0 0; }
.map-frame { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; filter: sepia(.12) saturate(.95); }

/* ---------- Schluss-Bande ---------- */
.final { position: relative; overflow: hidden; background: var(--roast); color: #FBF4E1; text-align: center; }
.final .pattern { background: rgb(214 166 62); opacity: .08; }
.final-in { position: relative; z-index: 1; }
.final h2 { color: #FBF4E1; font-size: clamp(32px, 4.8vw, 56px); }
.final p { color: #D8C6A2; max-width: 48ch; margin: 16px auto 30px; font-size: 18px; }
.final .btn-primary { color: #2A1B0D; }

/* ---------- Footer ---------- */
footer.ft { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
@media (max-width: 720px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ft-brand small { display: block; color: var(--fg-soft); font-size: 14px; margin-top: 12px; max-width: 36ch; }
.ft-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: var(--fg-soft); margin-bottom: 13px; font-weight: 600; }
.ft-col a { display: block; text-decoration: none; color: var(--fg); font-size: 15px; padding: 5px 0; transition: color .2s var(--ease); }
.ft-col a:hover { color: var(--accent); }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--fg-soft); font-size: 13px; }
.ft-bottom a { color: var(--fg-soft); text-decoration: none; }
.ft-bottom a:hover { color: var(--accent); }

/* ---------- Anruf-Button ---------- */
.call-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #2A1B0D; text-decoration: none; box-shadow: 0 10px 26px rgb(var(--shadow) / .34); transition: transform .2s var(--ease); }
.call-fab:hover { transform: translateY(-3px) scale(1.05); }
.call-fab svg { width: 26px; height: 26px; }

/* ---------- Prose (Rechtsseiten) ---------- */
.page-head { border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-head .pattern { opacity: .05; }
.page-head-in { position: relative; z-index: 1; padding: 60px 0 40px; }
.page-head .crumbs { font-size: 13px; color: var(--fg-soft); margin-bottom: 14px; }
.page-head .crumbs a { color: var(--gold); text-decoration: none; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); }
.prose { max-width: 74ch; padding: 56px 0 88px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.72; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose a { color: var(--gold); }
.prose strong { color: var(--fg); }
.ph-note { background: color-mix(in srgb, var(--ember) 14%, transparent); border: 1px dashed color-mix(in srgb, var(--ember) 50%, transparent); color: var(--fg); padding: 2px 6px; border-radius: 5px; font-weight: 600; }

/* ---------- Fokus & Reveal ---------- */
a:focus-visible, .btn:focus-visible, .icon-btn:focus-visible, nav.links a:focus-visible, .call-fab:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .prod .arch, .icon-btn, nav.links a, .call-fab { transition: none; }
}

/* ---------- mobiles Menü ---------- */
@media (max-width: 860px) {
  .burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: transparent; cursor: pointer; gap: 4px; }
  .burger span { display: block; width: 20px; height: 2px; background: var(--fg); border-radius: 2px; }
  nav.links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 24px 20px; display: none; }
  nav.links.open { display: flex; }
  nav.links a:not(.btn) { padding: 10px 0; }
  .hero-in { padding: 36px 0 48px; }
  .hero-copy { max-width: 100%; }
  .hero-wm { font-size: clamp(150px, 56vw, 300px); opacity: .07; right: -8%; }
}
@media (max-width: 560px) { .wrap { padding: 0 18px; } section { padding: 64px 0; } }
