:root {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-primary: #aba897;    /* Unternehmensfarbe - Beige/Taupe */
  --color-primary-soft: #c4c1b3;
  --color-primary-dark: #8a8776;
  --color-accent: #9a9582;     /* Dunklere Variante für Akzente */
  --color-text: #1a202c;
  --color-text-muted: #6b7280;
  --radius-lg: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --transition-fast: 0.2s ease-out;
  --max-width: 1100px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

/* Pegasus Background Watermark */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 540px;
  background-image: url('../images/PEGASUS-BG-3000X2015.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */

.site-header {
  background: var(--color-primary);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
  width: 65px;
  height: 65px;
  object-fit: contain; /* hier dein Pegasus (pegasus.png) */
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1rem;
  color: #1a202c;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

/* Navigation */

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary-dark);
  transition: width var(--transition-fast);
}

.nav a:hover {
  color: var(--color-primary-dark);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-image-full {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #000000;
  font-weight: 600;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin: 1.2rem 0;
  color: #000000;
  font-weight: 700;
}

.hero-text {
  color: #2d3748;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: #1a202c;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  border-color: #d1d5db;
  background: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background: #e5e7eb;
}

/* Cards (z.B. Rechtsgebiete / Notariat / Öffnungszeiten) */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin: 2.5rem 0 1.0rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(171, 168, 151, 0.2);
  border-color: var(--color-primary);
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: #49473e;
  color: #e5e7eb;
  padding: 2rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Mobile Menu Toggle */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Image - Old styles removed, now using full-width hero-image-full */

/* Sections */

.section-services,
.section-team,
.section-cta,
.section-content,
.section-contact,
.section-opening-hours {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Page Header */

.page-header {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Hero_Pegasus-3000x1320.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 1;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(171, 168, 151, 0.8) 0%, rgba(138, 135, 118, 0.85) 100%);
  z-index: 2;
}

.page-header .container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Cards Enhancements */

.card-highlight {
  border: 2px solid var(--color-primary);
  background: linear-gradient(to bottom, #ffffff, #fafaf8);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.card-icon-image {
  width: 64px;
  height: 64px;
  background: transparent;
  padding: 0;
}

.card-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.8rem;
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: 0.6rem;
}

/* Team Grid */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f7, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--color-primary);
}

.team-role {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.team-description {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-cv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  background: var(--color-primary);
  color: #1a202c;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  margin-top: auto;
  border: 1px solid var(--color-primary-dark);
}

.btn-cv:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Team Video Section */

.team-video {
  margin-top: 3rem;
  text-align: center;
}

.team-video video {
  width: 100%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* CTA Section */

.section-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #1a202c;
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  color: #4a4a4a;
}

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

.cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--color-primary-dark);
  color: #1a202c;
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Content Page Styles */

.content-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.content-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.content-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.content-cta p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Rechtsgebiete Grid */

.rechtsgebiete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.rechtsgebiet-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.rechtsgebiet-card:hover {
  transform: translateX(4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.rechtsgebiet-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.rechtsgebiet-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.rechtsgebiet-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin: 0;
  color: var(--color-primary);
}

.rechtsgebiet-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Notariat Services */

.notariat-services {
  max-width: 900px;
  margin: 0 auto;
}

.service-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.service-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin: 0;
  color: var(--color-primary);
}

.service-section > p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-item h4 {
  color: var(--color-primary);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.service-item p {
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.info-box {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(171, 168, 151, 0.08);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.info-box-icon {
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.info-box-content h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.info-box-content p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contact Page */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.info-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--color-primary);
}

.info-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.info-card a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.info-card a:hover {
  color: var(--color-primary-soft);
  text-decoration: underline;
}

/* Contact Form */

.contact-form-wrapper {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-form-wrapper h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.form-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 53, 88, 0.1);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* Checkbox Styling */

.form-checkbox {
  margin: 1.2rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.checkbox-text {
  color: var(--color-text);
  line-height: 1.5;
  user-select: none;
}

.checkbox-label:hover .checkbox-text {
  color: var(--color-primary-dark);
}

/* Alerts */

.alert {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert p {
  margin: 0;
  line-height: 1.5;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Map Section */

.section-map {
  margin-top: 4rem;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  display: block;
}

/* Opening Hours Page */

.opening-hours-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.opening-hours-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clock-icon {
  color: var(--color-primary);
  opacity: 0.8;
}

.opening-hours-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.hours-table {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hours-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  transition: background var(--transition-fast);
}

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

.hours-row:hover {
  background: var(--color-bg);
}

.hours-day {
  font-weight: 600;
  color: var(--color-text);
}

.hours-time {
  color: var(--color-text-muted);
}

.hours-closed .hours-time {
  color: #991b1b;
  font-weight: 500;
}

.opening-hours-content > p {
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
}

.hours-note {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(171, 168, 151, 0.08);
  border-radius: 8px;
  align-items: flex-start;
}

.hours-note svg {
  color: var(--color-primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.hours-note p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-option-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-option-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: white;
}

.contact-option-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.contact-option-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.emergency-note {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(171, 168, 151, 0.08);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
}

.emergency-note h3 {
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.emergency-note p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Footer Enhancements */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-col h3 + h3 {
  margin-top: 1.5rem;
}

.footer-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logos a {
  display: block;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  transition: transform var(--transition-fast);
}

.footer-logos a:hover {
  transform: translateY(-2px);
}

.footer-logos img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-col .footer-logos + p {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #e5e7eb;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
}

/* Responsive */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 90;
    gap: 0;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .hero-image-full {
    height: 500px;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .opening-hours-wrapper {
    grid-template-columns: 1fr;
  }

  .opening-hours-visual {
    display: none;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .page-header {
    height: 220px;
  }

  .page-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .section-services,
  .section-team,
  .section-cta,
  .section-content,
  .section-contact,
  .section-opening-hours {
    padding: 2.5rem 0;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    display: none;
  }

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

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

  .hero-image-full {
    height: 450px;
  }

  .hero-content {
    padding: 1.5rem 1.2rem;
    max-width: 95%;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .page-header {
    height: 200px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-actions {
    flex-direction: column;
  }
}

/* Cookie Banner (DSGVO/GDPR Compliant) */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.2rem 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  max-height: 200px;
  overflow-y: auto;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-content {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0;
}

.cookie-banner-text a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cookie-banner-text a:hover {
  color: var(--color-primary-dark);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-cookie-accept,
.btn-cookie-reject {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-cookie-accept {
  background: var(--color-primary);
  color: #1a202c;
  border-color: var(--color-primary-dark);
}

.btn-cookie-accept:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--color-text);
  border-color: #d1d5db;
}

.btn-cookie-reject:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
    max-height: none;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner-content {
    min-width: 100%;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }

  .btn-cookie-accept,
  .btn-cookie-reject {
    flex: 1;
    min-width: 120px;
  }
}