/* ==============================================
   MICHAELIS RECHTSANWÄLTE – HAUPTSTYLESHEET
   ============================================== */

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

:root {
  --weinrot: #800000;
  --weinrot-dark: #5c0000;
  --weinrot-hover: #9a0000;
  --weinrot-rgb: 128, 0, 0;
  --grau: #979797;
  --grau-light: #f5f5f5;
  --grau-dark: #4a4a4a;
  --weiss: #ffffff;
  --text: #1e1e1e;
  --text-medium: #3a3a3a;
  --border: rgba(151, 151, 151, 0.25);
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 10px 35px rgba(0,0,0,0.14);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1360px;
  --container-gutter: 48px;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--weiss);
  overflow-x: hidden;
}

body.home {
  --max-width: 1200px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }
p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

/* Labels & Dividers */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--weinrot);
  margin-bottom: 0.9rem;
}

.divider {
  width: 52px;
  height: 2px;
  background: var(--weinrot);
  margin: 1rem 0 2rem;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ==============================================
   NAVIGATION
   ============================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled,
.navbar.solid {
  background: var(--weinrot);
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a {
  color: var(--weiss);
}

.navbar.scrolled .nav-links a::after,
.navbar.solid .nav-links a::after {
  background: var(--weiss);
}

.navbar.scrolled .hamburger span,
.navbar.solid .hamburger span {
  background: var(--weiss);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-inner,
.navbar.solid .nav-inner {
  padding-top: 3px;
  padding-bottom: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  color: var(--weiss);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  transition: opacity 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--weiss);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-logo {
  order: -1; /* Logo links, Menü rechts */
}
.nav-logo img {
  height: 118px;
  width: auto;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo img { height: 108px; }
.navbar.solid .nav-logo img { height: 108px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--weiss);
  transition: var(--transition);
}
.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 overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--weinrot);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  color: var(--weiss);
  font-family: var(--serif);
  font-size: 2rem;
  transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 0.65; }
.mobile-close {
  position: absolute;
  top: 22px; right: 44px;
  color: var(--weiss);
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ==============================================
   HERO
   ============================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,0,0,0.36) 0%,
    rgba(0,0,0,0.50) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  color: var(--weiss);
  max-width: 760px;
}

.hero-stats-bar {
  position: absolute;
  bottom: 108px;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-stats {
  display: flex;
  gap: 44px;
}

/* Kanzlei split hero */
.kanzlei-hero {
  background: var(--weinrot);
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.kanzlei-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 480px; height: 480px;
  border: 80px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.kanzlei-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 56px;
}
.kanzlei-hero-text {
  padding-bottom: 52px;
  color: var(--weiss);
}
.kanzlei-hero-text .section-label { color: rgba(255,255,255,0.6); }
.kanzlei-hero-text h1 {
  color: var(--weiss);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 0.8rem;
}
.kanzlei-hero-text p { color: rgba(255,255,255,0.78); font-size: 0.98rem; max-width: 480px; margin-bottom: 0; }
.kanzlei-hero-img {
  overflow: hidden;
  height: 360px;
  align-self: end;
}
.kanzlei-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-stat-num {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: rgba(255,255,255,0.92);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-lbl {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.6rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,0.6);
}

.hero h1 {
  color: var(--weiss);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.35);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--weinrot);
  color: var(--weiss);
}
.btn-primary:hover {
  background: var(--weinrot-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(var(--weinrot-rgb), 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--weiss);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--weiss);
  color: var(--weinrot);
  border-color: var(--weiss);
}

.btn-outline-red {
  background: transparent;
  color: var(--weinrot);
  border: 1.5px solid var(--weinrot);
}
.btn-outline-red:hover {
  background: var(--weinrot);
  color: var(--weiss);
}

.btn-ghost {
  background: none;
  color: var(--weinrot);
  padding: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover::after { margin-left: 4px; }

/* ==============================================
   SECTIONS
   ============================================== */

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-gray { background: #FFFFFF; }
.section-dark { background: #1a1a1a; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--weiss); }
.section-weinrot { background: var(--weinrot); }
.section-weinrot h2, .section-weinrot h3 { color: var(--weiss); }

.text-center { text-align: center; }
.text-white { color: var(--weiss) !important; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ==============================================
   STATS BAR
   ============================================== */

.stats-bar {
  background: var(--weinrot);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-family: var(--serif);
  font-size: 3.2rem;
  color: var(--weiss);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ==============================================
   FEATURE LIST
   ============================================== */

.feat-list { margin-bottom: 2rem; }
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-medium);
}
.feat-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--weinrot);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

/* ==============================================
   PREVIEW IMAGE
   ============================================== */

.preview-img {
  height: 500px;
  overflow: hidden;
  position: relative;
}
.preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s ease;
}
.preview-img:hover img { transform: scale(1.04); }

.preview-img-accent::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 90px;
  height: 90px;
  border: 3px solid var(--weinrot);
  z-index: -1;
}

/* ==============================================
   WHY / FEATURES GRID
   ============================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  padding: 36px 32px;
  background: var(--weiss);
  border-top: 3px solid var(--weinrot);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.why-icon {
  color: var(--weinrot);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.why-item h4 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: var(--serif);
}
.why-item p {
  font-size: 0.9rem;
  color: var(--grau-dark);
  margin: 0;
}

/* ==============================================
   CARDS
   ============================================== */

.card {
  background: var(--weiss);
  padding: 44px 36px;
  border-top: 3px solid var(--weinrot);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  font-size: 1.8rem;
  color: var(--weinrot);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { font-size: 0.92rem; color: var(--grau-dark); margin-bottom: 0; }

/* Service list on Arbeitsrecht page */
.service-list { columns: 2; column-gap: 40px; }
.service-list li {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border);
}
.service-list li::before {
  content: '▸';
  color: var(--weinrot);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ==============================================
   PAGE HERO (inner pages)
   ============================================== */

.page-hero {
  padding: 190px 0 60px;
  background: var(--weinrot-dark);
  color: var(--weiss);
  position: relative;
  overflow: hidden;
}

/* Video background for inner-page heroes */
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Image background variant (Kanzlei page) */
.page-hero-img {
  background-size: cover;
  background-position: center top;
}

/* Overlay sits above video/image */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(80,0,0,0.88) 0%, rgba(10,0,0,0.76) 100%);
  z-index: 1;
}

/* All direct children of page-hero sit above overlay */
.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero .section-label { color: rgba(255,255,255,0.6); }
.page-hero h1 {
  color: var(--weiss);
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  white-space: nowrap;
  font-weight: 500;
}
.page-hero p { color: rgba(255,255,255,0.78); font-size: 0.97rem; max-width: 560px; }

.kanzlei-history-section {
  padding-top: 28px !important;
  padding-bottom: 18px !important;
}

.kanzlei-team-section {
  padding-top: 28px !important;
}

/* ==============================================
   PERSON / TEAM
   ============================================== */

.person-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: start;
}
.person-media {
  position: sticky;
  top: 90px;
  align-self: start;
}
.person-photo {
  position: relative;
  z-index: 0;
}
.person-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.person-photo::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 70px;
  height: 70px;
  border: 3px solid var(--weinrot);
  z-index: -1;
}
.person-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--weinrot);
  margin-bottom: 4px;
}
.person-name-large {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 6px;
}
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--weinrot);
  color: var(--weinrot);
}
.career-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-medium);
}
.career-list li::before {
  content: '–';
  color: var(--weinrot);
  font-weight: 700;
  flex-shrink: 0;
}

/* Founder card */
.founder-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}
.founder-img {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.founder-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  filter: grayscale(30%);
  display: block;
}
.founder-info {
  padding: 44px;
}
.founder-info h3 { margin-bottom: 6px; }
.memorial-cross {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1;
  vertical-align: 0.02em;
}
.founder-meta {
  font-size: 0.78rem;
  color: var(--grau);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ==============================================
   CONTACT
   ============================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  background: var(--weiss);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-control:focus {
  border-color: var(--weinrot);
  box-shadow: 0 0 0 3px rgba(var(--weinrot-rgb), 0.1);
}
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23979797' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.radio-group { display: flex; gap: 28px; margin-top: 6px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-medium);
}
.radio-label input[type="radio"] { accent-color: var(--weinrot); width: 16px; height: 16px; }

.file-drop {
  border: 2px dashed var(--border);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}
.file-drop:hover {
  border-color: var(--weinrot);
  background: rgba(var(--weinrot-rgb), 0.03);
}
.file-drop input { display: none; }
.file-icon { font-size: 2rem; color: var(--weinrot); margin-bottom: 10px; }
.file-text { font-size: 0.85rem; color: var(--grau-dark); margin: 0; }
.file-hint { font-size: 0.75rem; color: var(--grau); margin-top: 4px; }
.file-error {
  font-size: 0.75rem;
  color: var(--weinrot);
  margin: 6px 0 0;
  font-weight: 600;
}

#rechtsschutz-details[hidden] { display: none; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 36px 34px;
  background: var(--weiss);
  border-top: 3px solid var(--weinrot);
  box-shadow: var(--shadow);
  color: inherit;
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.resource-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--weinrot);
  border: 1px solid rgba(var(--weinrot-rgb), 0.22);
  margin-bottom: 20px;
}

.resource-card h3 { margin-bottom: 12px; }
.resource-card p { color: var(--grau-dark); font-size: 0.92rem; }
.resource-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--weinrot);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Contact info */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.info-icon {
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--weinrot);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grau);
  margin-bottom: 3px;
}
.info-value {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 400;
  margin: 0;
}

.hours-grid { margin-top: 6px; }
.hours-row {
  display: flex;
  gap: 20px;
  padding: 3px 0;
  font-size: 0.92rem;
}
.hours-day { color: var(--grau-dark); font-weight: 500; min-width: 70px; }
.hours-time { color: var(--text); }

.map-wrap {
  margin-top: 56px;
  height: 380px;
  overflow: hidden;
  border-top: 3px solid var(--weinrot);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(25%);
}

/* ==============================================
   CTA SECTION
   ============================================== */

.cta-section {
  background: #111;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.cta-section .container { position: relative; }
.cta-section h2 { color: var(--weiss); margin-bottom: 1rem; }
.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2.4rem;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
  background: var(--weinrot);
  color: var(--weiss);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.footer-logo {
  width: 260px; height: auto; margin-bottom: 18px;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 0;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 18px;
}

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.86);
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--weiss); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.86);
}
.footer-contact-list i { margin-top: 3px; width: 14px; flex-shrink: 0; }

.footer-bottom {
  padding: 22px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.footer-bottom .container { padding-top: 0; padding-bottom: 0; }
.footer-bottom a { color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--weiss); }
.footer-legal-links { display: flex; gap: 22px; }

/* ==============================================
   LEGAL PAGES
   ============================================== */

.legal-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px var(--container-gutter);
}
.legal-wrap h2 {
  font-size: 1.4rem;
  color: var(--weinrot);
  margin: 2.4rem 0 0.9rem;
  border-left: 3px solid var(--weinrot);
  padding-left: 16px;
}
.legal-wrap h3 { font-size: 1.05rem; margin: 1.6rem 0 0.6rem; font-family: 'Inter', sans-serif; }
.legal-wrap p { font-size: 0.93rem; color: var(--grau-dark); }
.legal-wrap ul { list-style: disc; padding-left: 22px; margin-bottom: 1rem; }
.legal-wrap ul li { font-size: 0.93rem; color: var(--grau-dark); margin-bottom: 4px; }
.legal-wrap a { color: var(--weinrot); text-decoration: underline; }

/* ==============================================
   IMAGE COLLAGE (index.html second section)
   ============================================== */

.intro-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 540px;
}

.collage-portrait {
  grid-row: 1 / 3;
  overflow: hidden;
  position: relative;
}
.collage-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.65s ease;
}
.collage-portrait:hover img { transform: scale(1.04); }

.collage-sm {
  overflow: hidden;
  position: relative;
}
.collage-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.collage-sm:hover img { transform: scale(1.04); }

/* Years badge overlaid on collage */
.collage-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--weinrot);
  color: var(--weiss);
  padding: 10px 16px;
  z-index: 2;
}
.collage-badge-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.collage-badge-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 2px;
}

/* Intro quote styling */
.intro-title {
  font-size: 1.8rem;
  line-height: 1.25;
  white-space: nowrap;
}

.home-intro-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-intro-text .divider {
  margin-bottom: 2.25rem;
}

.intro-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--grau-dark);
  line-height: 1.65;
  border-left: 2px solid var(--weinrot);
  padding-left: 18px;
  margin: 1.55rem 0 2.15rem;
}

.home-intro-copy {
  color: var(--grau-dark);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 2.35rem;
}

/* Intro facts (3 elegant inline facts) */
.intro-facts {
  display: flex;
  gap: 0;
  margin: 1.6rem 0;
  border: 1px solid var(--border);
}
.intro-fact {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.intro-fact:last-child { border-right: none; }
.intro-fact-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--weinrot);
  line-height: 1;
  margin-bottom: 3px;
}
.intro-fact-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau);
}

/* ==============================================
   PERSON BADGES (under photo on Kanzlei page)
   ============================================== */

.person-badges {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.person-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--weinrot);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-medium);
  background: #fff;
  transition: var(--transition);
}
.person-badge:hover { border-left-width: 3px; color: var(--text); }
.person-badge i {
  color: var(--weinrot);
  font-size: 0.8rem;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* ==============================================
   PHILOSOPHIE "WAS UNS ANTREIBT" – redesigned
   ============================================== */

/* Override inline styles from kanzlei.html */
.philosophie-section {
  background: #fff !important;
  padding: 100px 0 !important;
}
.philosophie-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.philosophie-img {
  height: 480px;
  overflow: hidden;
  position: relative;
}
.philosophie-img::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 70px;
  height: 70px;
  border: 3px solid var(--weinrot);
  z-index: 0;
}
.philosophie-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.65s ease;
}
.philosophie-img:hover img { transform: scale(1.03); }
.philosophie-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
  padding: 0;
}
.philosophie-pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.65;
  border-left: 2px solid var(--weinrot);
  padding-left: 18px;
  margin: 1.2rem 0 1.4rem;
}

/* ==============================================
   URTEIL DETAIL PAGE
   ============================================== */

.urteil-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.urteil-main h2.urteil-h2 {
  font-size: 1.35rem;
  margin: 2.2rem 0 0.8rem;
  color: var(--dunkel, #1e1e1e);
}

.urteil-main p {
  color: var(--grau-dark);
  margin-bottom: 1rem;
}

.urteil-meta-box {
  border: 1px solid var(--border);
  border-top: 3px solid var(--weinrot);
  padding: 20px 24px;
  margin-bottom: 32px;
  background: #fff;
}

.urteil-meta-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.urteil-meta-label {
  width: 130px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 7px;
}

.urteil-meta-label i { color: var(--weinrot); width: 14px; text-align: center; }

.urteil-meta-val { color: var(--grau-dark); }

.urteil-leitsatz {
  display: flex;
  gap: 20px;
  background: #faf9f7;
  padding: 22px 24px;
  margin-bottom: 32px;
  border-radius: 2px;
}

.urteil-leitsatz-bar {
  width: 4px;
  flex-shrink: 0;
  background: var(--weinrot);
  border-radius: 2px;
}

.urteil-leitsatz-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--weinrot);
  font-weight: 600;
  margin-bottom: 6px !important;
}

.urteil-leitsatz p:last-child {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text) !important;
  margin: 0 !important;
}

.urteil-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.2rem 0 1.4rem;
  border: 1px solid var(--border);
}

.urteil-step {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.urteil-step:last-child { border-bottom: none; }

.urteil-step-num {
  width: 48px;
  flex-shrink: 0;
  background: var(--weinrot);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.urteil-step > div:last-child {
  padding: 16px 20px;
}

.urteil-step-title {
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 4px !important;
  color: var(--text) !important;
}

.urteil-step-text {
  font-size: 0.88rem;
  color: var(--grau-dark) !important;
  margin: 0 !important;
  line-height: 1.6;
}

.urteil-normen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.norm-tag {
  background: var(--grau-light);
  border: 1px solid var(--border);
  padding: 5px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-medium);
  font-family: 'Inter', sans-serif;
}

/* Sidebar */
.urteil-sidebar { position: sticky; top: 90px; }

.sidebar-box {
  background: var(--weiss);
  border: 1px solid var(--border);
  border-top: 3px solid var(--weinrot);
  padding: 24px;
}

.sidebar-box-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.sidebar-box-text {
  font-size: 0.87rem;
  color: var(--grau-dark);
  line-height: 1.6;
  margin: 0;
}

/* ==============================================
   SCROLL ANIMATIONS
   ============================================== */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in, .fade-left.in, .fade-right.in {
  opacity: 1;
  transform: translate(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .person-wrap { grid-template-columns: 260px 1fr; gap: 50px; }
  .urteil-layout { grid-template-columns: 1fr; gap: 48px; }
  .urteil-sidebar { position: static; }
}

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-list { columns: 1; }
  .person-wrap { grid-template-columns: 1fr; gap: 36px; }
  .person-media { position: static; max-width: 320px; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-img { min-height: 240px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .preview-img { height: 280px; }
  .intro-collage { height: 360px; }
  .philosophie-inner { grid-template-columns: 1fr; gap: 40px; }
  .philosophie-img { height: 300px; }
}

@media (max-width: 768px) {
  :root { --container-gutter: 24px; }
  .container { padding: 0 24px; }
  .nav-logo img,
  .navbar.scrolled .nav-logo img,
  .navbar.solid .nav-logo img { height: 88px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .hero-stats { gap: 24px; padding: 0 24px; bottom: 60px; }
  .hero-stat-num { font-size: 1.15rem; }
  .section { padding: 70px 0; }
  .legal-wrap { padding: 60px 24px; }
  .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 280px; }
}

@media (max-width: 480px) {
  .intro-title {
    font-size: 1.55rem;
    white-space: normal;
  }
}
