/* Breiner Galli – Raumausstattung Zweibrücken
   Schriften: Young Serif (Überschriften), Figtree (Text) – lokal, OFL */

@font-face { font-family: "Young Serif"; src: url("../../fonts/YoungSerif/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../../fonts/Figtree/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../../fonts/Figtree/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --sand: #efe8dc;
  --mist: #eaf1f8;
  --ink: #1f2a36;
  --muted: #55606d;
  --line: #d9d3c8;
  --blue: #1d71b8;
  --blue-dark: #155a94;
  --ochre: #e7b13a;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --zig: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.9vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
p, li, address, td { overflow-wrap: break-word; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.measure { max-width: 66ch; }
.lead { font-size: 1.25rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Zackenschnitt – wie die Kante eines Stoffmusters */
.pinked { -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%; }

/* Umzugshinweis */
.notice { background: var(--ochre); color: var(--ink); font-size: 1rem; }
.notice .wrap { padding-top: 10px; padding-bottom: 10px; }
.notice a { white-space: nowrap; }
.notice strong { font-weight: 600; }
.notice a { color: var(--ink); font-weight: 600; }

/* Kopf */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 190px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: 4px; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue-dark); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.head-call { flex: 0 0 auto; }
.menu-toggle { display: none; }

.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 1.05rem; text-decoration: none; line-height: 1.2; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 10px 16px; font-size: 1rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

@media (max-width: 1080px) {
  .site-head .wrap { flex-wrap: wrap; min-height: 68px; gap: 12px; }
  .brand img { width: 150px; }
  .menu-toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 600 1rem var(--sans); cursor: pointer; }
  .head-call { order: 2; }
  .head-call .label-long { display: none; }
  .nav { order: 3; flex-basis: 100%; margin: 0; display: none; padding-bottom: 12px; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 4px; border-top: 1px solid var(--line); border-radius: 0; font-size: 1.125rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blue); padding-left: 14px; }
}
@media (max-width: 420px) {
  .brand img { width: 128px; }
  .head-call .label-short { display: none; }
  .head-call { padding: 10px 12px; }
}

/* Abschnitte */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sand { background: var(--sand); }
.section-mist { background: var(--mist); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

/* Startseite – Einstieg */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.today { position: absolute; left: -24px; bottom: -28px; background: var(--paper); padding: 16px 20px; border-left: 5px solid var(--blue); box-shadow: 0 10px 30px rgba(31,42,54,.14); font-size: 1rem; max-width: 300px; }
.today strong { display: block; font-size: 1.1rem; }
.today .state-open { color: #1c6b3a; }
.today .state-closed { color: #9a3b12; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; margin: 0 calc(-1 * var(--gut)); }
  .today { position: static; margin: -8px var(--gut) 0; max-width: none; box-shadow: none; border: 1px solid var(--line); border-left: 5px solid var(--blue); }
}

/* Leistungen als Stoffmuster */
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.swatch { display: flex; flex-direction: column; }
.swatch a.cover { display: block; text-decoration: none; color: inherit; }
.swatch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.swatch h3 { margin: 18px 0 8px; }
.swatch h3 a { color: var(--ink); text-decoration: none; }
.swatch h3 a:hover { color: var(--blue-dark); text-decoration: underline; }
.swatch p { color: var(--muted); font-size: 1.05rem; margin-bottom: 12px; }
.swatch .more { margin-top: auto; font-weight: 600; font-size: 1rem; }
@media (max-width: 1000px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .swatches { grid-template-columns: 1fr; } }

/* Besuch */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hours { border-collapse: collapse; margin: 8px 0 24px; font-size: 1.1rem; }
.hours th, .hours td { text-align: left; padding: 8px 24px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; }
.address { font-style: normal; margin-bottom: 20px; }
.moving { background: var(--paper); border-left: 5px solid var(--ochre); padding: 16px 20px; margin: 0 0 24px; }
.moving p { margin: 0; }
.photo-frame { background: var(--paper); padding: 14px 14px 22px; box-shadow: 0 10px 30px rgba(31,42,54,.1); max-width: 440px; }
.photo-frame figcaption { font-size: .95rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1.05rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Über uns / Text mit Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.wide-photo img { width: 100%; aspect-ratio: 1600 / 550; object-fit: cover; }
@media (max-width: 700px) { .wide-photo img { aspect-ratio: 4 / 3; } }

/* Unterseiten */
.crumbs { font-size: .95rem; padding-top: 24px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.page-hero { padding: 24px 0 clamp(48px, 6vw, 80px); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }
.small-photo { max-width: 420px; justify-self: center; width: 100%; }

.offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; list-style: none; margin: 0; padding: 0; }
.offer li { border-top: 1px solid var(--line); padding-top: 18px; }
.offer h3 { font-size: 1.3rem; margin-bottom: 6px; }
.offer p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .offer { grid-template-columns: 1fr; } }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 12px; margin: 0 0 10px; color: var(--muted); }

.cta-box { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #d5dbe2; margin: 0; }
.cta-box .actions { margin: 0; justify-content: flex-end; }
.cta-box .btn-ghost { border-color: #fff; color: #fff; }
.cta-box .btn-ghost:hover { background: #fff; color: var(--ink); }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } .cta-box .actions { justify-content: flex-start; } }

.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related a { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.related a:hover { color: var(--blue-dark); }
.related img { width: 96px; height: 72px; object-fit: cover; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.contact-grid h2 { font-size: 1.5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }
.consent-box { background: var(--mist); border: 1px solid #c9d8e8; padding: clamp(24px, 4vw, 40px); min-height: 280px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.consent-box p { margin: 0; max-width: 60ch; }
.consent-box small { color: var(--muted); font-size: .95rem; }
.embed-frame { width: 100%; border: 0; display: block; }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4em; font-family: var(--sans); font-weight: 600; }

/* Fuß */
.site-foot { background: var(--ink); color: #d5dbe2; padding: 64px 0 28px; font-size: 1.02rem; }
.site-foot a { color: #fff; }
.site-foot h2 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid address { font-style: normal; }
p, li, address, td { overflow-wrap: break-word; }
.foot-legal { border-top: 1px solid #3a4756; margin-top: 48px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .95rem; }
.foot-legal ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .site-head, .notice, .site-foot, .consent-box { display: none; } }
