/* Topsmile Koeln - Statisches Stylesheet */
:root {
  --accent: #2ea3f2;
  --accent-dark: #1b86d1;
  --bg: #ffffff;
  --surface: #f9fafc;
  --surface-alt: #f1f5f9;
  --text: #1e293b;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 8px;
  --max-width: 72rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  line-height: 1.25;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: 0;
}

h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
}

h3 {
  font-size: 1.25rem;
}

p, ul, ol, blockquote {
  margin-top: 0;
  margin-bottom: 1.125rem;
}

ul, ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.35rem;
}

blockquote {
  border-left: 4px solid var(--accent);
  margin-left: 0;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text-muted);
}

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

/* Header & Navigation */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.975rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.nav-mobile {
  position: relative;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile-menu a {
  text-decoration: none;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a[aria-current="page"] {
  background: var(--surface);
  color: var(--accent-dark);
}

@media (min-width: 820px) {
  .nav-desktop {
    display: flex;
  }
  .nav-mobile {
    display: none;
  }
}

/* Main Content */
.site-main {
  padding: 2rem 0 3.5rem;
}

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.article-body {
  max-width: 48rem;
}

.article-body img,
.section-block img {
  border-radius: var(--radius);
  margin: 1.25rem 0;
}

/* Sections & Grids */
.section-block {
  padding: 2.25rem 0;
}

.section-block + .section-block {
  border-top: 1px solid var(--border);
}

.section-surface {
  background: var(--surface);
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 2.75rem 2.5rem;
  }
}

.hero-media img {
  border-radius: var(--radius);
  margin: 0;
  width: 100%;
  object-fit: cover;
}

.btn {
  display: inline-block;
  background: var(--accent-dark);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
}

.btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card img {
  border-radius: 6px;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  flex-shrink: 0;
}

.icon-badge img {
  width: 28px;
  height: 28px;
  margin: 0;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}

.testimonial-author {
  font-weight: 700;
  color: #0f172a;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

th, td {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-alt);
  color: #0f172a;
  font-weight: 700;
}

td p:last-child {
  margin-bottom: 0;
}

.rating-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
