/* ========================================
   SEVAGO – Stylesheet
   Palette: Dunkelblau #1a2a3a, Gold #b8975a,
            Hellgrau #f5f5f3, Weiß #ffffff,
            Textgrau #3d3d3d
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --navy:   #1a2a3a;
  --gold:   #b8975a;
  --gold-light: #d4b47a;
  --bg:     #f5f5f3;
  --white:  #ffffff;
  --text:   #3d3d3d;
  --muted:  #7a7a7a;
  --border: #ddd9d0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ---- HEADER ---- */
header {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  border-bottom: 2px solid var(--gold);
}

.logo-link img {
  display: block;
  height: 44px;
  width: auto;
}

/* ---- NAV ---- */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

nav ul li a {
  display: block;
  padding: 0.4rem 0.8rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
}

/* ---- HAMBURGER (mobile) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE NAV ---- */
@media (max-width: 700px) {
  .hamburger { display: flex; }

  nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid var(--gold);
    display: none;
  }
  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  nav ul li a {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
}

/* ---- HERO (Startseite) ---- */
.hero {
  background: var(--navy);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

/* ---- MAIN CONTENT ---- */
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* ---- PAGE TITLE ---- */
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

/* ---- CONTENT ---- */
.content p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.content strong {
  font-weight: 500;
  color: var(--navy);
}

.content em { font-style: italic; }

.content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  transition: color 0.2s;
}
.content a:hover { color: var(--navy); }

/* ---- INTRO BOX (Startseite) ---- */
.intro-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 2px;
  padding: 2rem 2rem 2rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.intro-box img {
  width: 160px;
  height: auto;
  flex-shrink: 0;
  border-radius: 2px;
}

.intro-bullets {
  list-style: none;
  margin: 0.5rem 0 1.25rem;
}
.intro-bullets li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  color: var(--text);
}
.intro-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 500;
}

/* ---- CTA LINK ---- */
.cta-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--navy);
  color: var(--white) !important;
  border: none !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.2s;
}
.cta-link:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* ---- DIENSTLEISTUNGEN CARDS ---- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.service-card:hover {
  box-shadow: 0 4px 16px rgba(26,42,58,0.12);
  transform: translateY(-2px);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* ---- CONTENT IMAGE (floating) ---- */
.content-img {
  float: right;
  margin: 0 0 1.5rem 2rem;
  max-width: 260px;
  width: 40%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ---- IMPRESSUM / DATENSCHUTZ IMAGE ---- */
.impressum-img {
  display: block;
  max-width: 320px;
  width: 100%;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: #9aabb8;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.8rem;
  border-top: 2px solid var(--gold);
}
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { color: var(--white); }
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-bottom: 0.75rem;
}
footer nav ul li a {
  color: #9aabb8;
  font-size: 0.8rem;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
}
footer nav ul li a:hover { color: var(--gold-light); }

/* ---- CLEARFIX ---- */
.clearfix::after { content: ''; display: table; clear: both; }

/* ---- MOBILE ADJUSTMENTS ---- */
@media (max-width: 600px) {
  header { padding: 0 1rem; }

  .intro-box {
    flex-direction: column;
    gap: 1rem;
  }
  .intro-box img { width: 100%; max-width: 300px; }

  .content-img {
    float: none;
    margin: 0 0 1.25rem 0;
    max-width: 100%;
    width: 100%;
  }
  main { padding: 2rem 1rem 3rem; }
}
