/* ============================================================
   MVZ Alter Wall 55 — Static Site Stylesheet
   ============================================================ */

/* Self-hosted Inter font (SIL OFL) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --color-primary:       #3a7183;
  --color-primary-light: #4d8fa3;
  --color-accent:        #0db26b;
  --color-accent-hover:  #0a9a5c;
  --color-bg:            #ffffff;
  --color-bg-light:      #f2f7f9;
  --color-bg-section:    #e8f1f4;
  --color-text:          #080808;
  --color-text-muted:    #5f6360;
  --color-text-light:    #7a8a8e;
  --color-border:        #c5d8de;
  --color-white:         #ffffff;
  --color-notice-bg:     #fff8e1;
  --color-notice-border: #f5a623;

  --font-sans:   'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;

  --nav-height:  80px;
  --max-width:   1100px;
  --radius:      6px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

/* ============================================================
   TOPBAR (address bar above nav)
   ============================================================ */
.topbar {
  background: var(--color-primary);
  color: #c8dde4;
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a {
  color: #c8dde4;
}
.topbar a:hover { color: #fff; text-decoration: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 20px;
}

.nav-logo img {
  height: 54px;
  width: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a,
.nav-list > li > span {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-list > li > a:hover,
.nav-list > li > span:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-list > li.active > a {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

/* Dropdown */
.nav-list > li:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 200;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-bg-light);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 90px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-primary:hover {
  background: #e8f0eb;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

.btn-green {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-green:hover {
  background: var(--color-primary-light);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ============================================================
   NOTICE BANNER
   ============================================================ */
.notice-banner {
  background: var(--color-notice-bg);
  border-left: 4px solid var(--color-notice-border);
  padding: 14px 20px;
  font-size: 0.92rem;
  color: #7a5000;
}
.notice-banner .container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-banner .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: 70px 0;
}
.section-light {
  background: var(--color-bg-light);
}
.section-colored {
  background: var(--color-bg-section);
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 44px;
  max-width: 680px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================================
   FEATURE CARDS / SERVICE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  display: none;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

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

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.info-box h4 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 6px;
}
.info-box p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.team-card .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-bg-section);
  border: 2px solid var(--color-border);
  margin: 0 auto 14px;
}

.team-card .name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.team-section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 8px;
  margin: 42px 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

/* ============================================================
   CONTACT / FORM STYLES
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
}
.contact-info dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.contact-info dd {
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

.contact-info .info-block {
  margin-bottom: 30px;
}
.contact-info .info-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
}

/* ============================================================
   TABLE (Öffnungszeiten / Versicherungen)
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}
.data-table th {
  background: var(--color-bg-section);
  font-weight: 700;
  color: var(--color-primary);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--color-bg-light); }

/* ============================================================
   JOBS / KARRIERE
   ============================================================ */
.job-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.job-card .job-icon {
  display: none;
}
.job-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.job-card p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-content {
  max-width: 800px;
}
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 36px 0 10px;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 24px 0 8px;
}
.legal-content p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.legal-content ul {
  margin: 8px 0 12px 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.legal-content li { margin-bottom: 4px; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 56px 0 48px;
}
.page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-header p {
  font-size: 1rem;
  opacity: 0.88;
  max-width: 580px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #162630;
  color: #a0bcc5;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .logo-footer {
  height: 48px;
  margin-bottom: 14px;
  border-radius: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #8aabba;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8dde4;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  font-size: 0.88rem;
  color: #8aabba;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: #c8dde4;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #6a8a9a;
}

.footer-bottom a {
  color: #8aabba;
}
.footer-bottom a:hover { color: #c8dde4; }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-0 { margin-top: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.text-muted { color: var(--color-text-muted); }
.text-small { font-size: 0.88rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 0.82rem;
  color: #c8dde4;
  margin-bottom: 6px;
  opacity: 0.8;
}
.breadcrumb a { color: #c8dde4; }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb span + span::before { content: " › "; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .two-col.reverse { direction: ltr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-list {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    gap: 0;
  }
  .nav-list.open { display: flex; }
  .nav-toggle { display: flex; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    display: block;
  }
  .dropdown a { padding: 8px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; }
  .site-header { position: relative; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 52px; }
  .section { padding: 48px 0; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
