/*
Theme Name: Bestattungen Römer
Theme URI: https://bestattungen-roemer.de
Author: Andreas Römer
Author URI: https://bestattungen-roemer.de
Description: Individuelles Theme für Bestattungen Römer, Diemelstadt
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: roemer
*/

/* ── DESIGN-TOKENS ── */
:root {
  --cream:      #f5f0eb;
  --warm-white: #faf8f5;
  --charcoal:   #2a2623;
  --taupe:      #8c7b6e;
  --sage:       #7a8c7e;
  --gold:       #b8956a;
  --gold-light: #d4b896;
  --border:     rgba(140,123,110,0.2);
  --shadow:     0 4px 40px rgba(42,38,35,0.08);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}
.section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: 96px 0; }

/* ── HEADER ── */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}
#masthead .header-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-branding a {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--charcoal);
}
.site-title-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.site-title-sub {
  font-size: 0.63rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ── NAVIGATION ── */
#masthead nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
#masthead nav ul li a {
  text-decoration: none;
  color: var(--taupe);
  font-size: 0.77rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
}
#masthead nav ul li a:hover { color: var(--charcoal); }
#masthead nav ul li.menu-cta a {
  background: var(--charcoal);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  transition: background 0.25s;
}
#masthead nav ul li.menu-cta a:hover { background: var(--gold); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2a2623 0%, #3d3530 50%, #4a4038 100%);
  color: #fff;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(184,149,106,0.15);
  border: 1px solid rgba(184,149,106,0.35);
  padding: 8px 18px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 40px;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
#hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
  margin-bottom: 32px;
}
#hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
#hero p.hero-lead {
  font-size: 1.08rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--gold-light); color: var(--charcoal); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 16px 36px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  display: block;
}

/* ── NOTRUF-BANNER ── */
#notruf {
  background: var(--charcoal);
  padding: 0;
}
.notruf-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.notruf-text {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.notruf-tel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.notruf-tel:hover { color: #fff; }
.notruf-info {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── LEISTUNGEN ── */
#leistungen { background: var(--cream); }
#leistungen .section-head {
  text-align: center;
  margin-bottom: 64px;
}
#leistungen h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.leistung-card {
  background: var(--warm-white);
  padding: 48px 36px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  z-index: 1;
}
.leistung-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}
.leistung-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.leistung-card p {
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.75;
}

/* ── ÜBER UNS ── */
#ueber-uns { background: var(--warm-white); }
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ueber-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--charcoal);
  margin-bottom: 24px;
}
.ueber-text p {
  font-size: 0.95rem;
  color: var(--taupe);
  line-height: 1.85;
  margin-bottom: 16px;
}
.ueber-werte {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wert-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.wert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.wert-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.wert-item span { font-size: 0.88rem; color: var(--taupe); }
.ueber-visual {
  background: linear-gradient(160deg, var(--cream) 0%, #e8dfd5 100%);
  padding: 56px;
  text-align: center;
}
.ueber-visual blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.5;
  position: relative;
}
.ueber-visual blockquote::before {
  content: '"';
  font-size: 8rem;
  line-height: 0;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 40px;
  left: -20px;
}
.ueber-visual cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ── VORSORGE ── */
#vorsorge {
  background: linear-gradient(135deg, #2a2623 0%, #3d3530 100%);
  color: #fff;
}
#vorsorge .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
#vorsorge h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 20px;
}
#vorsorge p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 16px;
}
.vorsorge-cta { margin-top: 36px; }
.vorsorge-punkte {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vorsorge-punkt {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
}
.vorsorge-punkt strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.vorsorge-punkt span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
}

/* ── TRAUERDRUCK ── */
#trauerdruck { background: var(--cream); }
#trauerdruck .section-head {
  text-align: center;
  margin-bottom: 56px;
}
#trauerdruck h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}
.druck-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.druck-item {
  background: var(--warm-white);
  padding: 36px 28px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s;
}
.druck-item:hover { border-color: var(--gold); }
.druck-item svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin: 0 auto 16px;
}
.druck-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.druck-item p { font-size: 0.83rem; color: var(--taupe); }

/* ── KONTAKT ── */
#kontakt { background: var(--warm-white); }
#kontakt .section-head {
  text-align: center;
  margin-bottom: 64px;
}
#kontakt h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.kontakt-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.kontakt-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.kontakt-info-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 4px;
}
.kontakt-info-item a,
.kontakt-info-item p {
  font-size: 1rem;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.5;
}
.kontakt-info-item a:hover { color: var(--gold); }

/* Kontaktformular */
.kontakt-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.kontakt-form .form-group { margin-bottom: 16px; }
.kontakt-form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}
.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.25s;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
  border-color: var(--gold);
}
.kontakt-form textarea { resize: vertical; min-height: 120px; }
.kontakt-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  font-family: 'Jost', sans-serif;
}

/* ── FOOTER ── */
#colophon {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .site-title-main { color: #fff; }
.footer-brand .site-title-sub { color: var(--taupe); }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.87rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  text-decoration: none;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold-light); }

/* ── BENACHRICHTIGUNG ── */
.notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--sage);
  color: #fff;
  padding: 16px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s;
  pointer-events: none;
}
.notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .druck-grid { grid-template-columns: repeat(2, 1fr); }
  .ueber-grid,
  .kontakt-grid,
  #vorsorge .container { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 24px; }
  #masthead .header-inner { padding: 0 24px; }
  .hero-inner { padding: 60px 24px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  #masthead nav { display: none; }
  #masthead nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--warm-white);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  #masthead nav.open ul { flex-direction: column; gap: 0; }
  #masthead nav.open ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: flex; }
  .leistungen-grid,
  .druck-grid { grid-template-columns: 1fr; }
  .kontakt-form .form-row { grid-template-columns: 1fr; }
  .notruf-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .ueber-visual { padding: 36px 24px; }
}
