/* ==========================================================
   Metzgerei Rädler — Demo-Homepage
   Eigenständiges CSS: Weinrot/Creme/Dunkelbraun/Gold
   ========================================================== */

/* --- @font-face ----------------------------------------- */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alegreya-400-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: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alegreya-400.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: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/alegreya-700-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: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/alegreya-700.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: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alegreya-italic-400-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: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alegreya-italic-400.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: 'Cabin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cabin-400-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: 'Cabin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cabin-400.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: 'Cabin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cabin-600-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: 'Cabin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cabin-600.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;
}

/* --- CSS-Variablen --------------------------------------- */
:root {
  --weinrot:     #7B1F1F;
  --weinrot-dk:  #5e1717;
  --braun:       #2A1208;
  --creme:       #FAF5ED;
  --creme2:      #F2EDE4;
  --gold:        #C4922A;
  --gold-lt:     #d4a845;

  --font-display: 'Alegreya', Georgia, serif;
  --font-body:    'Cabin', system-ui, sans-serif;

  --max-w: 1100px;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(42,18,8,.10);
}

/* --- Reset / Base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--braun);
  background: var(--creme);
  /* Papier-Textur: feines Raster aus sehr hellem Grau */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(42,18,8,.025) 28px,
      rgba(42,18,8,.025) 29px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 28px,
      rgba(42,18,8,.018) 28px,
      rgba(42,18,8,.018) 29px
    );
}

img { max-width: 100%; display: block; }
a { color: var(--weinrot); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--braun);
}

/* --- Demo-Leiste ---------------------------------------- */
.demo-bar {
  background: var(--weinrot);
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  padding: .45rem 1rem;
  letter-spacing: .02em;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* --- Navigation ----------------------------------------- */
.site-header {
  background: var(--braun);
  position: sticky;
  top: 38px; /* Höhe Demo-Leiste */
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--creme);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--creme);
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: .25rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--creme);
  text-decoration: none;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
  letter-spacing: .03em;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--weinrot);
  color: #fff;
}

/* Burger-Button */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--creme);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Ornament-Trennlinie --------------------------------- */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 300px;
  color: var(--gold);
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}
.ornament-divider svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* --- Hero ----------------------------------------------- */
.hero {
  background: var(--braun);
  color: var(--creme);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(123,31,31,.35) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-emblem {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  opacity: .92;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--creme);
  margin-bottom: .5rem;
}

.hero-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(250,245,237,.8);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  transition: background .2s, color .2s, transform .15s;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--weinrot);
  color: #fff;
  border-color: var(--weinrot);
}
.btn-primary:hover { background: var(--weinrot-dk); border-color: var(--weinrot-dk); }

.btn-outline {
  background: transparent;
  color: var(--creme);
  border-color: rgba(250,245,237,.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Leistungsübersicht / Karten ----------------------- */
.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--braun);
}

.section-intro {
  font-size: 1.05rem;
  color: #5a3a25;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Leistungskarten */
.karten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.karte {
  background: var(--creme2);
  border-radius: var(--radius);
  border-left: 4px solid var(--weinrot);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.karte:hover {
  box-shadow: 0 6px 24px rgba(42,18,8,.14);
  transform: translateY(-2px);
}

.karte-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  line-height: 1;
}

.karte h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: .5rem;
  color: var(--weinrot);
}

.karte p {
  font-size: .93rem;
  color: #4a2e18;
  line-height: 1.6;
}

/* --- Öffnungszeiten ------------------------------------- */
.oez-section {
  background: var(--creme2);
  padding: 4rem 1.25rem;
}

.oeffnungszeiten {
  background: var(--creme);
  border: 1px solid rgba(196,146,42,.3);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
  box-shadow: var(--shadow);
}

.oeffnungszeiten table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: .95rem;
}

.oeffnungszeiten tr {
  border-bottom: 1px solid rgba(42,18,8,.08);
}
.oeffnungszeiten tr:last-child { border-bottom: none; }

.oeffnungszeiten td {
  padding: .55rem .25rem;
  color: var(--braun);
}
.oeffnungszeiten td:first-child { font-weight: 600; width: 90px; }
.oeffnungszeiten td:last-child { color: #5a3a25; text-align: right; }

.oez-hinweis {
  margin-top: 1rem;
  font-size: .82rem;
  color: #7a5533;
  font-style: italic;
}

/* --- CTA-Band ------------------------------------------- */
.cta-band {
  background: var(--weinrot);
  color: #fff;
  padding: 3.5rem 1.25rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: .5rem;
}

.cta-band p {
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .03em;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.cta-phone:hover { color: var(--gold-lt); text-decoration: none; }

/* --- Prose (Fließtext-Seiten) -------------------------- */
.prose-section {
  padding: 4rem 1.25rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  color: var(--weinrot);
  border-bottom: 1px solid rgba(123,31,31,.2);
  padding-bottom: .4rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}

.prose p { margin-bottom: 1rem; }

.prose ul {
  margin: .5rem 0 1rem 1.25rem;
}
.prose ul li { margin-bottom: .3rem; }

.prose a { color: var(--weinrot); text-decoration: underline; }

/* --- Notice-Box ---------------------------------------- */
.notice-box {
  background: #fff8e7;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .93rem;
  color: var(--braun);
}

.notice-box.demo {
  background: #fdf0f0;
  border-color: var(--weinrot);
  border-left-color: var(--weinrot);
}

.notice-box strong { display: block; margin-bottom: .35rem; font-size: 1rem; }

/* --- Kontakt-Grid --------------------------------------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.kontakt-card {
  background: var(--creme2);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.kontakt-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--weinrot);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(123,31,31,.15);
  padding-bottom: .4rem;
}

.kontakt-card p,
.kontakt-card address {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--braun);
}

.kontakt-card a { color: var(--weinrot); }
.kontakt-card a:hover { text-decoration: underline; }

/* --- Map-Placeholder ------------------------------------ */
.map-placeholder {
  background: var(--creme2);
  border: 1px solid rgba(42,18,8,.12);
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--braun);
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  fill: var(--weinrot);
  opacity: .6;
}

.map-placeholder p {
  font-size: .9rem;
  color: #7a5533;
  margin: 0;
}

/* --- Seiten-Hero (Unterseiten) ------------------------- */
.page-hero {
  background: var(--braun);
  color: var(--creme);
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--creme);
  margin-bottom: .4rem;
}

.page-hero p {
  color: rgba(250,245,237,.75);
  font-size: 1.05rem;
}

/* --- Footer --------------------------------------------- */
.site-footer {
  background: var(--braun);
  color: rgba(250,245,237,.65);
  padding: 2.5rem 1.25rem;
  font-size: .85rem;
  text-align: center;
}

.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin-bottom: 1rem;
  list-style: none;
}

.footer-copy { color: rgba(250,245,237,.45); }

/* --- Reveal-Animationen --------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive ----------------------------------------- */
@media (max-width: 768px) {
  .burger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--braun);
    padding: .75rem 1rem 1rem;
    gap: .15rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .65rem 1rem; border-radius: var(--radius); }

  .site-header { position: sticky; }

  .hero { padding: 3.5rem 1.25rem 3rem; }

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

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

  .oeffnungszeiten { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
}
