/* passbild-burgau.de – statische Dreamweaver-Website
   Typografie: ausschließlich serifenlose Systemschriften, keine externen Webfonts. */
:root {
  --ink: #12304A;
  --ink-soft: #35536C;
  --muted: #637789;
  --accent: #2E6F9E;
  --accent-dark: #1B4F73;
  --accent-bright: #5A9CCB;
  --accent-soft: #E4F0F7;
  --surface: #FFFFFF;
  --surface-soft: #F3F7FA;
  --surface-warm: #EDF4F8;
  --line: #D5E0E8;
  --line-strong: #B8C9D6;
  --footer: #10283D;
  --shadow-sm: 0 8px 24px rgba(18, 48, 74, .07);
  --shadow-lg: 0 24px 70px rgba(18, 48, 74, .11);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --max: 1220px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 1000;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: #10283D;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(18, 48, 74, .09);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}
.brand-main {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 850;
  letter-spacing: -.055em;
}
.brand-main span { color: var(--accent); }
.brand-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 3px; }
.site-nav a {
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  color: #35536C;
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 108px) 0 76px;
  background: #FFFFFF;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--accent);
}
.hero::after {
  content: "";
  position: absolute;
  right: -210px;
  top: 45px;
  width: 520px;
  height: 520px;
  border: 90px solid var(--accent-soft);
  border-radius: 50%;
  opacity: .65;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5.55rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 850;
}
.hero-lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: #637789;
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
  line-height: 1.58;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid var(--accent);
  border-radius: 13px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(46, 111, 158, .16);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover {
  transform: translateY(-1px);
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #FFFFFF;
}
.button.secondary {
  border-color: var(--line-strong);
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: none;
}
.button.secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--accent-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 20px;
  pointer-events: none;
}
.hero-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -72px;
  width: 205px;
  height: 205px;
  border: 32px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.hero-card-label {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #E4F0F7;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-price {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 28px;
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 900;
}
.hero-card p {
  position: relative;
  z-index: 1;
  max-width: 245px;
  margin: 24px 0 0;
  color: #E4F0F7;
  line-height: 1.5;
}

.service-strip {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 40px));
  margin: -30px auto 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-tile {
  position: relative;
  overflow: hidden;
  padding: 25px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}
.service-tile:hover {
  transform: translateY(-3px);
  border-color: #D5E0E8;
  box-shadow: 0 16px 38px rgba(18, 48, 74, .10);
}
.service-tile small {
  display: block;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.service-tile strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -.025em;
}
.service-tile span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.55;
}

.main-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 38px;
  align-items: start;
}
.content-shell {
  min-width: 0;
  padding: clamp(28px, 4.8vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.content-shell > :first-child { margin-top: 0; }
.content-shell h2 {
  margin: 64px 0 18px;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.25vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 850;
}
.content-shell h2 strong { font-weight: inherit; }
.content-shell h3 {
  margin: 36px 0 10px;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 800;
}
.content-shell h3 strong { font-weight: inherit; }
.content-shell p { margin: 0 0 19px; }
.content-shell ul,
.content-shell ol { margin: 14px 0 25px; padding-left: 1.35rem; }
.content-shell li { margin: 8px 0; padding-left: .2rem; }
.content-shell li::marker { color: var(--accent); }
.content-shell hr {
  height: 1px;
  margin: 54px 0;
  border: 0;
  background: var(--line);
}
.content-shell strong { color: #12304A; }
.content-shell .accent-panel,
.content-shell .price-panel,
.content-shell .soft-panel,
.content-shell .warm-panel,
.content-shell .content-card {
  margin: 27px 0;
  padding: clamp(21px, 3vw, 31px);
  border-radius: var(--radius-lg);
}
.content-shell .accent-panel {
  border: 1px solid #E4F0F7;
  border-left: 6px solid var(--accent);
  background: #EDF4F8;
}
.content-shell .price-panel {
  border: 1px solid #E4F0F7;
  border-left: 6px solid var(--accent-dark);
  background: var(--accent-soft);
}
.content-shell .soft-panel {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.content-shell .warm-panel {
  border: 1px solid #E4F0F7;
  background: var(--surface-warm);
}
.content-shell .content-card {
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 10px 28px rgba(18, 48, 74, .05);
}
.content-shell .accent-panel h2,
.content-shell .price-panel h2,
.content-shell .soft-panel h2,
.content-shell .warm-panel h2,
.content-shell .content-card h2 { margin-top: 0; }
.content-shell .card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 25px 0;
}
.content-shell .card-grid > div { margin: 0; }

.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}
.data-table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
  background: #FFFFFF;
}
.data-table th,
.data-table td {
  padding: 16px 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.data-table tbody tr:nth-child(even) { background: #FFFFFF; }
.data-table tr:last-child td { border-bottom: 0; }

.page-aside { position: sticky; top: 112px; }
.aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -.025em;
}
.aside-card h2 strong { font-weight: inherit; }
.aside-card p { margin: 0 0 17px; color: var(--muted); font-size: .92rem; }
.aside-card .button { width: 100%; }
.aside-links { display: grid; gap: 0; }
.aside-links a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}
.aside-links a:last-child { border-bottom: 0; }

.site-footer { background: var(--footer); color: #D5E0E8; }
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 31px;
  display: grid;
  grid-template-columns: 1.35fr .9fr .9fr 1.05fr;
  gap: 44px;
}
.footer-title {
  color: #FFFFFF;
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -.04em;
}
.footer-inner h2 {
  margin: 0 0 14px;
  color: #FFFFFF;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-inner p { margin: 0 0 12px; color: #B8C9D6; }
.footer-inner a { color: #E4F0F7; }
.footer-links { display: grid; gap: 8px; }
.footer-online a { overflow-wrap: anywhere; }
.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 29px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #637789;
  font-size: .8rem;
}
.mobile-cta { display: none; }
.legal-note {
  padding: 17px 19px;
  border: 1px dashed #5A9CCB;
  border-radius: var(--radius-md);
  background: #F3F7FA;
  color: #35536C;
}
:focus-visible { outline: 3px solid #5A9CCB; outline-offset: 3px; }

@media (max-width: 1080px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 77px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-wrap { grid-template-columns: 1fr; }
  .page-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .aside-card + .aside-card { margin-top: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner,
  .hero-inner,
  .service-strip,
  .main-wrap,
  .footer-inner,
  .footer-bottom { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 72px; }
  .brand-main { font-size: 1.6rem; }
  .brand-sub { display: none; }
  .hero { padding: 50px 0 53px; }
  .hero::after { right: -270px; top: 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); line-height: 1; }
  .hero-lead { margin-top: 22px; }
  .hero-card { min-height: 225px; padding: 29px; }
  .hero-price { font-size: 3.7rem; }
  .service-strip { grid-template-columns: 1fr; margin-top: -18px; margin-bottom: 42px; }
  .main-wrap { gap: 25px; margin-bottom: 72px; }
  .content-shell { padding: 27px 20px; border-radius: 23px; }
  .content-shell h2 { margin-top: 48px; }
  .content-shell .card-grid,
  .page-aside,
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner { gap: 31px; }
  .mobile-cta {
    display: grid;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 80;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 45px rgba(18, 48, 74, .22);
    backdrop-filter: blur(12px);
  }
  .mobile-cta a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-cta a:last-child {
    border: 1px solid var(--accent);
    background: #FFFFFF;
    color: var(--accent);
  }
  .footer-bottom { padding-bottom: 95px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header,
  .page-aside,
  .mobile-cta,
  .hero-actions,
  .site-footer,
  .service-strip { display: none !important; }
  body { background: #FFFFFF; }
  .hero { padding: 20px 0; }
  .hero::before, .hero::after { display: none; }
  .hero-inner, .main-wrap { width: 100%; display: block; }
  .hero-card { display: none; }
  .content-shell { border: 0; box-shadow: none; padding: 0; }
}


/* Kompakte Social-Links im bestehenden Footer – ohne Layoutänderung */
.footer-social-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
@media (max-width: 760px) {
  
}

/* =========================================================
   Bildmodule der verbindlichen passbild-burgau.de-Vorlage
   Kleine Passbilddarstellung: 4 Spalten Desktop,
   3 Spalten Tablet, 2 Spalten Smartphone.
   ========================================================= */

.language-hub,
.showcase-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.language-hub {
  margin-bottom: 64px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.language-hub-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}
.language-hub-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.language-hub-heading p { margin: 0; color: var(--muted); }
.language-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.language-chip {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}
.language-chip:hover,
.language-chip[aria-current="page"] {
  border-color: #D5E0E8;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.language-flag { flex: 0 0 auto; font-size: 1.12rem; }

.portrait-showcase {
  padding: 66px 0 78px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase-heading {
  max-width: 800px;
  margin-bottom: 30px;
}
.showcase-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.showcase-heading p:last-child { margin-bottom: 0; color: var(--muted); }

.portrait-grid,
.topic-images {
  display: grid;
  gap: 16px;
}
.portrait-grid-compact,
.portrait-grid-curated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.topic-images.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topic-images.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.topic-photo-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(18, 48, 74, .06);
}
.topic-photo-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 760 / 976;
  background: #EDF4F8;
}
.topic-photo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.photo-badge {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--accent-dark);
  font-size: .67rem;
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 5px 15px rgba(18, 48, 74, .12);
}
.topic-photo-card figcaption {
  display: grid;
  gap: 6px;
  padding: 14px 15px 16px;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.45;
}
.topic-photo-card figcaption strong {
  font-size: .95rem;
  line-height: 1.25;
}
.topic-photo-card figcaption span { color: var(--muted); }

.topic-photo-section,
.inline-photo-feature,
.compact-photo-note {
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.topic-photo-section { padding: 24px; }
.topic-photo-heading { margin-bottom: 18px; }
.topic-photo-heading h3 { margin: 3px 0 0; }
.photo-kicker {
  margin: 0 0 4px !important;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.image-note {
  margin: 16px 0 0 !important;
  color: var(--muted);
  font-size: .86rem;
}

.inline-photo-feature {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
}
.warm-photo-section { background: var(--surface-warm); border-color: #E4F0F7; }
.inline-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.inline-photo-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 760 / 976;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  background: #EDF4F8;
}
.inline-photo-copy h3 { margin: 4px 0 10px; }
.inline-photo-copy p:last-child { margin-bottom: 0; }

.compact-photo-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
}
.compact-photo-note.reverse { grid-template-columns: 150px minmax(0, 1fr); }
.compact-photo-note img {
  display: block;
  width: 150px;
  aspect-ratio: 760 / 976;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
}
.compact-photo-note h3 { margin: 4px 0 9px; }
.compact-photo-note p:last-child { margin-bottom: 0; }

.simple-language-main {
  width: min(1040px, calc(100% - 40px));
  margin: 40px auto 80px;
}
.simple-language-intro,
.simple-language-card,
.simple-language-contact {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.simple-language-intro { margin: 20px 0; padding: 28px; }
.simple-language-intro h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.simple-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.simple-language-card { padding: 24px; }
.simple-language-card.full { grid-column: 1 / -1; }
.simple-language-card h2 { margin: 0 0 14px; }
.simple-language-picture-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 26px;
}
.simple-language-picture {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.simple-language-picture img {
  display: block;
  width: 100%;
  aspect-ratio: 760 / 976;
  object-fit: cover;
  object-position: center top;
}
.simple-language-picture figcaption {
  padding: 10px;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
}
.simple-language-contact { margin-top: 16px; padding: 28px; }

@media (max-width: 1080px) {
  .portrait-grid-compact,
  .portrait-grid-curated { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .language-hub,
  .showcase-inner,
  .simple-language-main { width: min(calc(100% - 28px), var(--max)); }
  .language-hub { padding: 22px 18px; margin-bottom: 46px; }
  .language-hub-heading { grid-template-columns: 1fr; gap: 9px; }
  .language-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait-showcase { padding: 48px 0 58px; }
  .portrait-grid-compact,
  .portrait-grid-curated { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .topic-photo-card figcaption { padding: 11px 10px 13px; font-size: .75rem; }
  .topic-photo-card figcaption strong { font-size: .86rem; }
  .photo-badge { left: 7px; right: 7px; bottom: 7px; max-width: calc(100% - 14px); padding: 5px 7px; font-size: .59rem; }
  .topic-images.two,
  .topic-images.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-photo-feature { grid-template-columns: 1fr; gap: 18px; padding: 19px; }
  .inline-photo-pair { max-width: 330px; }
  .compact-photo-note,
  .compact-photo-note.reverse { grid-template-columns: 105px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .compact-photo-note img { width: 105px; }
  .simple-language-grid { grid-template-columns: 1fr; }
  .simple-language-picture-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .simple-language-picture figcaption { padding: 7px; font-size: .7rem; }
}

@media (max-width: 420px) {
  .language-chip-grid { grid-template-columns: 1fr; }
  .topic-images.two,
  .topic-images.three { grid-template-columns: 1fr 1fr; }
  .compact-photo-note,
  .compact-photo-note.reverse { grid-template-columns: 90px minmax(0, 1fr); }
  .compact-photo-note img { width: 90px; }
}

/* RESPONSIVE-KORREKTUR 07.08.2026 – Passbildbeispiele, Tabellen, lange Texte */

/* Lange Begriffe, URLs und Kontaktdaten dürfen auf kleinen Displays keine Bereiche aufziehen. */
.hero-inner > *,
.content-shell,
.page-aside,
.aside-card,
.footer-inner > section {
  min-width: 0;
}

.hero h1,
.hero-lead,
.hero-card,
.hero-price,
.content-shell h2,
.content-shell h3,
.content-shell p,
.content-shell li,
.content-shell a,
.aside-card,
.aside-card a,
.footer-inner,
.footer-inner a {
  overflow-wrap: anywhere;
}

.button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

/* Startseite: Passbild-Beispiele bewusst kompakter. */
@media (min-width: 1081px) {
  .portrait-grid-compact,
  .portrait-grid-curated {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .portrait-grid-compact,
  .portrait-grid-curated {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
  }
}

@media (max-width: 760px) {
  /* Die spätere Tablet-Regel darf den Footer auf Smartphones nicht wieder zweispaltig machen. */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner > * {
    width: 100%;
    max-width: 100%;
  }
  .hero h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hero-price {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3.35rem);
    line-height: 1;
    letter-spacing: -.045em;
  }
  .page-kontakt .hero-price {
    font-size: clamp(1.75rem, 9vw, 2.75rem);
  }

  .content-shell h2,
  .content-shell h3,
  .content-shell p,
  .content-shell li {
    hyphens: auto;
  }

  /* Tabellen werden auf Smartphones zu gut lesbaren Karten statt horizontal zu scrollen. */
  .data-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .data-table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }
  .data-table thead {
    display: none;
  }
  .data-table tbody {
    display: grid;
    width: 100%;
    gap: 12px;
  }
  .data-table tr {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(18, 48, 74, .04);
  }
  .data-table tbody tr:nth-child(even) {
    background: #FFFFFF;
  }
  .data-table td {
    display: grid;
    grid-template-columns: minmax(104px, .36fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
  }
  .data-table td::before {
    content: attr(data-label);
    color: var(--accent-dark);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .data-table td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .data-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .page-simple-language .header-inner,
  .page-translated-language .header-inner {
    gap: 10px;
  }
  .page-simple-language .brand-main,
  .page-translated-language .brand-main {
    font-size: 1.34rem;
  }
  .page-simple-language .header-inner > .button,
  .page-translated-language .header-inner > .button {
    min-height: 42px;
    padding: 0 11px;
    font-size: .84rem;
  }
}

@media (max-width: 420px) {
  .simple-language-picture-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .simple-language-picture figcaption,
  .photo-badge {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

/* RESPONSIVE-NACHTEST 07.08.2026 – nur technische Korrekturen */

/*
 * Die Preisliste hat drei informationsreiche Spalten. Auf Tablets im Hochformat
 * ist die Kartenansicht lesbarer als eine stark zusammengedrückte Tabelle.
 */
@media (min-width: 761px) and (max-width: 900px) {
  .page-preisliste .data-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .page-preisliste .data-table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }
  .page-preisliste .data-table thead {
    display: none;
  }
  .page-preisliste .data-table tbody {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .page-preisliste .data-table tr {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(18, 48, 74, .04);
  }
  .page-preisliste .data-table tbody tr:nth-child(even) {
    background: #FFFFFF;
  }
  .page-preisliste .data-table td {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
  }
  .page-preisliste .data-table td::before {
    content: attr(data-label);
    color: var(--accent-dark);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .page-preisliste .data-table td:last-child {
    border-bottom: 0;
  }
}

/* Google-Analytics-Einwilligung: bisher fehlende responsive Darstellung. */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 120;
  padding: 0 14px;
  pointer-events: none;
}
.consent-banner-inner {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 28px);
  margin: 0 auto;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 55px rgba(18, 48, 74, .24);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}
.consent-copy {
  min-width: 0;
}
.consent-kicker {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.consent-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.consent-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.consent-copy .consent-status {
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}
.consent-privacy-link {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 750;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.consent-button {
  min-height: 44px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
}
.consent-deny {
  background: #FFFFFF;
  color: var(--accent);
}
.consent-accept {
  background: var(--accent);
  color: #FFFFFF;
}
.consent-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.45rem;
  cursor: pointer;
}
.footer-cookie-button,
.footer-cookie-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #E4F0F7;
  font: inherit;
  font-size: .9rem;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.footer-cookie-button:hover,
.footer-cookie-link:hover {
  color: #FFFFFF;
}

@media (max-width: 760px) {
  .consent-banner {
    bottom: 82px;
    padding: 0 10px;
  }
  .consent-banner-inner {
    max-height: calc(100vh - 104px);
    padding: 17px 16px;
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 18px;
  }
  .consent-copy h2 {
    padding-right: 24px;
    font-size: 1.06rem;
  }
  .consent-copy p {
    font-size: .82rem;
  }
  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
  .consent-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .consent-actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   passbild-burgau.de · lokale SEO-Leitdomain 2026
   ========================================================= */
.local-focus {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 64px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.local-focus-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}
.local-focus-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.local-focus-heading p { margin: 0; color: var(--muted); }
.local-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.local-fact-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.local-fact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.local-fact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.25;
}
.local-fact-grid p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.regional-content { scroll-margin-top: 110px; }
.local-contact-panel { margin-top: 24px !important; }
.social-links { display: grid; gap: 10px; }
.social-link {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  color: #FFFFFF !important;
  text-decoration: none;
}
.social-link:hover { background: rgba(255,255,255,.09); }
.social-icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
}
.social-icon-wrap img { width: 22px; height: 22px; display: block; }
.social-copy { display: grid; gap: 1px; min-width: 0; }
.social-copy strong { color: #FFFFFF; font-size: .9rem; line-height: 1.2; }
.social-copy small { color: #B8C9D6; font-size: .75rem; overflow-wrap: anywhere; }
.central-link { margin-top: 3px; font-size: .84rem; font-weight: 750; }
@media (max-width: 980px) {
  .local-fact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .local-focus { width: min(100% - 28px, var(--max)); margin-bottom: 42px; padding: 24px 20px; border-radius: 23px; }
  .local-focus-heading { grid-template-columns: 1fr; gap: 16px; }
  .local-fact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Termin als Servicevorteil · Startseite
   ========================================================= */
.appointment-focus {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 64px;
  padding: clamp(30px, 4.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}
.appointment-focus-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}
.appointment-focus-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.appointment-focus-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.appointment-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.appointment-benefit-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}
.appointment-benefit-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.appointment-benefit-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
}
.appointment-benefit-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.58;
}
.appointment-focus-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #FFFFFF;
}
.appointment-focus-footer p {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,.82);
}
.appointment-focus-footer strong { color: #FFFFFF; }
.appointment-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}
.appointment-focus-actions .button.secondary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink);
}
@media (max-width: 980px) {
  .appointment-benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .appointment-focus-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .appointment-focus {
    width: min(100% - 28px, var(--max));
    margin-bottom: 42px;
    padding: 24px 20px;
    border-radius: 23px;
  }
  .appointment-focus-heading { grid-template-columns: 1fr; gap: 16px; }
  .appointment-benefit-grid { grid-template-columns: 1fr; }
  .appointment-focus-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .appointment-focus-actions .button { width: 100%; text-align: center; }
}


/* Datenschutzfreundliche 2-Klick-Karte */
.map-consent {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 22px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}
.map-consent-compact {
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, .95fr);
}
.map-consent-copy h3 { margin: 0 0 10px; }
.map-consent-copy > p:not(.eyebrow):not(.map-privacy-note) { margin: 0; color: var(--muted); }
.map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.map-load-button { cursor: pointer; font: inherit; }
.map-privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}
.map-consent-stage {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.map-consent-large .map-consent-stage { min-height: 300px; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)),
    repeating-linear-gradient(45deg, var(--surface-soft) 0, var(--surface-soft) 14px, var(--surface) 14px, var(--surface) 28px);
}
.map-placeholder .map-pin {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 12px;
  transform: rotate(-45deg);
  background: var(--accent);
  color: transparent;
}
.map-placeholder .map-pin::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
}
.map-placeholder strong,
.map-placeholder small { position: relative; z-index: 1; }
.map-placeholder strong { color: var(--ink); }
.map-placeholder small { color: var(--muted); }
.map-consent-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}
.map-consent.is-loaded .map-consent-stage { background: #FFFFFF; }
.map-consent.is-loaded .map-load-button { display: none; }
@media (max-width: 820px) {
  .map-consent,
  .map-consent-compact { grid-template-columns: 1fr; }
  .map-consent-stage { min-height: 240px; }
}
@media (max-width: 560px) {
  .map-consent { padding: 16px; border-radius: var(--radius-md); }
  .map-consent-actions { display: grid; grid-template-columns: 1fr; }
  .map-consent-actions .button { width: 100%; text-align: center; }
  .map-consent-stage,
  .map-consent-large .map-consent-stage { min-height: 220px; }
}
