/* ============================================================
   Petras Friseursalon – Hauptstylesheet
   Farbpalette: Flieder #9580B8 | Rosé #D4857A | Warmweiß #FDF6F5
   ============================================================ */

/* ----------------------------------------------------------
   CSS Custom Properties (Design-Token)
   ---------------------------------------------------------- */
:root {
  --color-bg:       #FDF6F5;
  --color-accent:   #9580B8;
  --color-accent-dark: #7A62A0;
  --color-rose:     #D4857A;
  --color-rose-dark: #B86A5F;
  --color-dark:     #2C2C2C;
  --color-mid:      #6B6B6B;
  --color-light:    #F5EAE8;
  --color-white:    #FFFFFF;
  --color-border:   #E8D5D2;

  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', 'DM Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;

  --shadow-sm:  0 2px 8px rgba(149, 128, 184, 0.12);
  --shadow-md:  0 4px 20px rgba(44, 44, 44, 0.10);
  --shadow-lg:  0 8px 40px rgba(44, 44, 44, 0.14);

  --max-width:  1140px;
  --nav-height: 88px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--banner-height, 0px) + var(--nav-height));
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ----------------------------------------------------------
   Typografie
   ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { font-size: 1rem; color: var(--color-mid); }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------
   Layout-Hilfsklassen
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--light {
  background-color: var(--color-light);
}

.section--green {
  background-color: var(--color-rose);
  color: var(--color-white);
}

.section--green h2,
.section--green h3,
.section--green p {
  color: var(--color-white);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.text-center { text-align: center; }

.section-header {
  margin-bottom: 56px;
}

/* ----------------------------------------------------------
   Hinweisbanner (Renovierung / temporäre Schließung)
   ---------------------------------------------------------- */
.notice-banner {
  background-color: var(--color-rose);
  color: var(--color-white);
  text-align: center;
  padding: 12px 48px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
}

.notice-banner strong {
  font-weight: 700;
}

.notice-banner__icon {
  display: inline-block;
  margin-right: 6px;
  font-style: normal;
}

.notice-banner__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.notice-banner__close:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}

.notice-banner.hidden {
  display: none;
}

/* Nav-Top-Offset wird per JS dynamisch gesetzt (--banner-height) */

@media (max-width: 640px) {
  .notice-banner {
    padding: 10px 40px 10px 16px;
    font-size: 0.82rem;
    text-align: left;
  }
}

/* ----------------------------------------------------------
   Skip Link (Barrierefreiheit)
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ----------------------------------------------------------
   Focus-Stile (Barrierefreiheit)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----------------------------------------------------------
   Scroll-Animationen
   ---------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Reduzierte Bewegung für Nutzer mit Vestibularis-Störungen */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(149, 128, 184, 0.35);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(149, 128, 184, 0.45);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-rose);
}

.btn--white:hover {
  background-color: var(--color-light);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.nav.transparent {
  background-color: transparent;
}

.nav.scrolled {
  background-color: rgba(253, 246, 245, 0.97);
  box-shadow: 0 2px 20px rgba(44, 44, 44, 0.08);
  backdrop-filter: blur(8px);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo img {
  height: 52px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--color-mid);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.nav.transparent .nav__logo-text { color: var(--color-white); }
.nav.transparent .nav__logo-sub { color: rgba(255,255,255,0.8); }
/* Logo-Bild im transparenten Zustand weiß rendern */
.nav.transparent .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
}

.nav.transparent .nav__links a { color: rgba(255,255,255,0.9); }

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__links a:hover { color: var(--color-accent); }
.nav.transparent .nav__links a:hover { color: var(--color-white); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-accent);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background-color: var(--color-accent-dark) !important;
  transform: translateY(-1px);
}

.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav.transparent .nav__hamburger span { background-color: var(--color-white); }

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: calc(var(--banner-height, 0px) + var(--nav-height));
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--color-bg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--color-border);
}

.nav__mobile.open { display: block; }

.nav__mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-dark);
  transition: color var(--transition);
}

.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--color-accent); }

/* ----------------------------------------------------------
   Page Header (Unterseiten)
   ---------------------------------------------------------- */
.page-header {
  padding: calc(var(--banner-height, 0px) + var(--nav-height) + 48px) 0 64px;
  background: linear-gradient(135deg, var(--color-light) 0%, #EDD5D0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,133,122,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header p {
  font-size: 1.1rem;
  margin-top: 12px;
  color: var(--color-mid);
}

/* ----------------------------------------------------------
   Hero Section (Startseite)
   ---------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://petras-friseursalon.de/wp-content/uploads/2018/08/HeroImage.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 44, 44, 0.55) 0%,
    rgba(180, 100, 90, 0.45) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 680px;
}

.hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  display: block;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ----------------------------------------------------------
   USP-Karten
   ---------------------------------------------------------- */
.usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.usp-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.usp-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.usp-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
}

.usp-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.usp-card p {
  font-size: 0.95rem;
}

/* ----------------------------------------------------------
   Service-Vorschau (Startseite)
   ---------------------------------------------------------- */
.services-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-preview-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-preview-card:nth-child(even) {
  border-left-color: var(--color-rose);
}

.service-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-preview-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.service-preview-card ul {
  list-style: none;
}

.service-preview-card ul li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--color-mid);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-preview-card ul li:last-child { border-bottom: none; }

.service-preview-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.service-preview-card:nth-child(even) ul li::before {
  background-color: var(--color-rose);
}

.service-partner-badge {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-partner-badge strong {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.service-card-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-mid);
  font-style: italic;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Service-Seite (Vollständig)
   ---------------------------------------------------------- */
.services-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-full {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.service-card-full__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-light);
}

.service-card-full__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card-full__icon--rose { background-color: var(--color-light); }
.service-card-full__icon--rose svg { stroke: var(--color-accent); }

.service-card-full__icon--green { background-color: #F9EAE8; }
.service-card-full__icon--green svg { stroke: var(--color-rose); }

.service-card-full__icon--purple { background-color: #EDE8F5; }
.service-card-full__icon--purple svg { stroke: var(--color-accent); }

.service-card-full__icon svg { width: 26px; height: 26px; }

.service-card-full h3 { font-size: 1.5rem; }

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-list li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.97rem;
  color: var(--color-dark);
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card-full:nth-child(2) .service-list li::before {
  color: var(--color-rose);
}

/* ----------------------------------------------------------
   CTA-Bereich
   ---------------------------------------------------------- */
.cta-section {
  text-align: center;
  padding: 64px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-light) 0%, #EDD5D0 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 { margin-bottom: 16px; }
.cta-box p { margin-bottom: 32px; font-size: 1.05rem; }

/* ----------------------------------------------------------
   Öffnungszeiten-Streifen
   ---------------------------------------------------------- */
.hours-strip {
  padding: 56px 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.hours-item__day {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  display: block;
  margin-bottom: 4px;
}

.hours-item__time {
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.hours-item--closed .hours-item__time {
  opacity: 0.6;
}

/* ----------------------------------------------------------
   Team-Sektion (Startseite Teaser)
   ---------------------------------------------------------- */
.team-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.team-teaser__image {
  position: relative;
}

.team-teaser__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.team-teaser__image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border-radius: var(--radius-lg);
  background-color: var(--color-light);
  z-index: -1;
}

.team-teaser__content h2 { margin-bottom: 20px; }
.team-teaser__content p { margin-bottom: 32px; font-size: 1.05rem; }

/* ----------------------------------------------------------
   Team-Seite (Vollständig)
   ---------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-6px); }

.team-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.team-card__content {
  padding: 32px;
}

.team-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.team-card h3 { margin-bottom: 16px; }

.team-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background-color: var(--color-light);
  color: var(--color-accent-dark);
}

.badge--green {
  background-color: #EDE8F5;
  color: var(--color-rose-dark);
}

/* ----------------------------------------------------------
   Qualifikationen/Timeline
   ---------------------------------------------------------- */
.qualifications {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.qualifications h2 { margin-bottom: 36px; }

.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qual-item {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-light);
}

.qual-item__year {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}

.qual-item__text {
  font-size: 0.9rem;
  color: var(--color-mid);
  margin-top: 4px;
}

/* ----------------------------------------------------------
   Kontakt-Seite
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-info-card h2 { margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child { border-bottom: none; padding-bottom: 0; }

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
}

.contact-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-mid);
  display: block;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 500;
}

.contact-item__value a {
  color: var(--color-accent);
  transition: color var(--transition);
}

.contact-item__value a:hover { color: var(--color-accent-dark); }

/* Öffnungszeiten Tabelle */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 10px 0;
  font-size: 0.95rem;
}

.hours-table td:first-child { font-weight: 500; color: var(--color-dark); }
.hours-table td:last-child { text-align: right; color: var(--color-mid); }

/* Formular */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-form h2 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 28px; font-size: 0.95rem; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark);
  background-color: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(149, 128, 184, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-notice {
  font-size: 0.82rem;
  color: var(--color-mid);
  margin-top: 12px;
}

.form-notice a { color: var(--color-accent); }

/* Karte */
.map-container {
  margin-top: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.footer {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .nav__logo-text { color: var(--color-white); }
.footer__brand .nav__logo-sub  { color: rgba(255,255,255,0.6); }

.footer__tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--color-accent); }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer__legal a:hover { color: var(--color-accent); }

/* ----------------------------------------------------------
   Responsiv
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .usps { grid-template-columns: 1fr; gap: 20px; }
  .services-preview { grid-template-columns: repeat(2, 1fr); }
  .services-full { grid-template-columns: repeat(2, 1fr); }
  .team-teaser { grid-template-columns: 1fr; }
  .team-teaser__image::after { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hours-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  :root { --nav-height: 76px; }
  .section { padding: 60px 0; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .services-preview { grid-template-columns: 1fr; }
  .services-full { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: repeat(2, 1fr); }
  .qualifications { padding: 32px 24px; }
  .contact-form, .contact-info-card { padding: 28px 20px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ----------------------------------------------------------
   Legal Pages (Impressum, Datenschutz)
   ---------------------------------------------------------- */
.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-dark);
  margin: 48px 0 12px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 28px 0 8px;
}

.legal-content p {
  color: var(--color-mid);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-content ul {
  color: var(--color-mid);
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--color-accent-dark);
}

.legal-source {
  font-size: 0.82rem;
  color: var(--color-mid);
  margin-top: 40px;
  opacity: 0.6;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
