/* ============================================================
   KT Partner Immobilien – Main Stylesheet
   Design: Weiß/Blau – exaktes Original-Farbschema
   Keine externen Fonts
============================================================ */

/* ---- Custom Properties ---- */
:root {
  /* Hintergründe */
  --bg:          #ffffff;
  --bg2:         #f4f7fb;
  --bg3:         #eaf0f8;
  --bg-dark:     #1a2744;
  --bg-dark2:    #142038;
  --bg-footer:   #1a2744;

  /* Primärfarbe: Dunkelblau */
  --blue:        #1a2744;
  --blue-mid:    #2a3f6f;
  --blue-light:  #3a5598;
  --blue-dim:    rgba(26,39,68,0.08);

  /* Akzent: Mittelblau / Linkblau */
  --accent:      #2a6496;
  --accent-light:#3a80c0;
  --accent-dim:  rgba(42,100,150,0.12);

  /* Text */
  --text:        #1a2744;
  --text2:       #4a5568;
  --text3:       #718096;
  --text-light:  #a0aec0;

  /* Borders */
  --border:      #d1dce8;
  --border-dark: rgba(26,39,68,0.15);

  /* Weiß */
  --white:       #ffffff;
  --white2:      #f8fafc;

  /* Fonts */
  --font-serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --font-sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Layout */
  --nav-h:      72px;
  --radius:     6px;
  --shadow:     0 2px 16px rgba(26,39,68,0.10);
  --shadow-lg:  0 8px 40px rgba(26,39,68,0.15);
  --transition: 0.22s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea { font: inherit; background: transparent; border: none; outline: none; }
ul { list-style: none; }

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(26,39,68,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;

}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--blue);
  line-height: 1.2;
}
.logo-text span { color: var(--accent); }

nav ul { display: flex; align-items: center; gap: 2px; }
nav ul li a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text2);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  display: block;
}
nav ul li a:hover,
nav ul li a.active-link {
  color: var(--accent);
  background: var(--accent-dim);
}
nav ul li a.nav-btn-book {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
}
nav ul li a.nav-btn-book:hover { background: var(--accent-light) !important; }
nav ul li a.active-link.nav-btn-book { background: var(--blue) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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 Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 999;
  padding: 16px 20px;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active-link { color: var(--accent); background: var(--accent-dim); }

/* ============================================================
   MAIN
============================================================ */
main { padding-top: var(--nav-h); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   SECTION HELPERS
============================================================ */
section { padding: 90px 48px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-body {
  font-size: 16px;
  color: var(--text2);
  max-width: 620px;
  line-height: 1.78;
}
.divider {
  width: 44px; height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 2px;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 60% 50%, rgba(42,100,150,0.18) 0%, transparent 65%),
    linear-gradient(140deg, #0f1a2e 0%, #1a2744 45%, #1e3060 100%);
}
.hero-visual {
  position: absolute; right: 0; top: 0;
  width: 55%; height: 100%;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://static.wixstatic.com/media/ae1ba7_94a7d3d844414daf925f42ddb8a9987c~mv2.png/v1/fill/w_1200,h_900,fp_0.50_0.50,q_85,enc_avif,quality_auto/ae1ba7_94a7d3d844414daf925f42ddb8a9987c~mv2.webp') center/cover no-repeat;
  opacity: 0.25;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg-dark) 0%, rgba(26,39,68,0.4) 40%, rgba(26,39,68,0.1) 75%, var(--bg-dark) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
  padding: 80px 48px 80px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,100,150,0.25);
  border: 1px solid rgba(42,100,150,0.5);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #90c8f0;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #90c8f0;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.5); }
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: #90c8f0; }
.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
}
.hero .btn-primary:hover { background: #4a90d0; border-color: #4a90d0; }
.hero .btn-secondary {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee-bar {
  background: var(--accent);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-inner span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 36px;
}
.marquee-inner span::before { content: '\25C6'; margin-right: 36px; color: rgba(255,255,255,0.5); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   VISION
============================================================ */
.vision {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.vision-image {
  position: relative;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vision-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.vision-image:hover img { transform: scale(1.04); }
.vision-deco {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 100px; height: 100px;
  border: 3px solid var(--accent);
  opacity: 0.2;
  border-radius: 4px;
  z-index: -1;
}

/* ============================================================
   REGION
============================================================ */
.region-sec { background: var(--bg); }
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.region-image {
  height: 440px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.region-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.region-image:hover img { transform: scale(1.04); }

/* ============================================================
   EXCELLENCE
============================================================ */
.excellence {
  background: var(--bg-dark);
  padding: 80px 48px;
  text-align: center;
}
.excellence .section-label { color: #90c8f0; }
.excellence-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 18px;
  line-height: 1.3;
}
.excellence-body {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   SERVICES
============================================================ */
.services-sec { background: var(--bg2); border-top: 1px solid var(--border); }
.services-header { margin-bottom: 52px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative; overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(42,100,150,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; margin-bottom: 24px; }
.service-card h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-link:hover { gap: 14px; }

/* ============================================================
   NEWS
============================================================ */
.news-sec {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  color: inherit;
  box-shadow: var(--shadow);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(42,100,150,0.3);
}
.news-img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-body { padding: 24px 20px; }
.news-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.news-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.35;
  margin-bottom: 10px;
}
.news-body p {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.65;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-sec {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-intro p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-top: 16px;
}
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
}
.footer-contact-item .icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: var(--accent); }
.footer-contact-item a:hover { text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42,100,150,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { min-height: 130px; resize: vertical; }
.required { color: #e53e3e; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--accent);
  margin-top: 8px;
}
.form-submit:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-1px); }
.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success svg { margin: 0 auto 20px; }
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 10px;
}
.form-success p { color: var(--text3); font-size: 15px; }
.form-error-msg {
  background: #fff5f5;
  border: 1px solid #fc8181;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: #c53030;
  margin-bottom: 18px;
}

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--bg-footer);
  padding: 70px 48px 0;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: #90c8f0; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 270px;
}
.footer-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #90c8f0;
  margin-top: 16px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #90c8f0; }

/* Footer contact items */
#site-footer .footer-contact-item {
  color: rgba(255,255,255,0.55);
}
#site-footer .footer-contact-item a { color: #90c8f0; }
#site-footer .footer-contact-item a:hover { color: #fff; }
#site-footer .footer-contact-item .icon { color: #90c8f0; }

/* Social Buttons */
.social-row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.social-btn:hover {
  color: #fff;
  border-color: #90c8f0;
  background: rgba(144,200,240,0.15);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: #90c8f0; }

/* ============================================================
   INNER PAGES
============================================================ */
.inner-page { min-height: 80vh; padding: 70px 48px 100px; }
.inner-page-inner { max-width: 860px; margin: 0 auto; }
.inner-hero {
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}
.inner-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-top: 10px;
}
.inner-hero-sub {
  font-size: 16px;
  color: var(--text3);
  margin-top: 16px;
  max-width: 600px;
  line-height: 1.7;
}
.inner-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.inner-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.inner-content p,
.inner-content li {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.78;
  margin-bottom: 12px;
}
.inner-content ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.inner-content a { color: var(--accent); }
.inner-content a:hover { text-decoration: underline; }
.impressum-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  margin-bottom: 20px;
}
.impressum-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}
.impressum-card p,
.impressum-card a {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 6px;
}
.impressum-card a { color: var(--accent); }
.impressum-card a:hover { text-decoration: underline; }

/* ============================================================
   BLOG PAGE
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  color: inherit;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(42,100,150,0.3);
}
.blog-card img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: 26px; }
.blog-card-body h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-body p { font-size: 14px; color: var(--text3); line-height: 1.65; }

/* ============================================================
   PORTFOLIO PAGE
============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.portfolio-card {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.92) 0%, transparent 100%);
  padding: 28px 22px 22px;
}
.portfolio-card-overlay h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}
.portfolio-card-overlay span {
  font-size: 12px;
  color: #90c8f0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   BOOK ONLINE
============================================================ */
.book-section {
  min-height: calc(100vh - var(--nav-h));
  padding: 80px 48px 100px;
  background: var(--bg2);
  display: flex;
  align-items: center;
}
.book-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.book-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 16px;
}
.book-inner > p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  text-align: left;
  box-shadow: var(--shadow-lg);
}
.booking-type {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.booking-type:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 2px 12px rgba(42,100,150,0.1);
}
.booking-type-icon {
  width: 46px; height: 46px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.booking-type h4 { font-size: 15px; color: var(--blue); margin-bottom: 3px; font-weight: 600; }
.booking-type p  { font-size: 13px; color: var(--text3); margin: 0; line-height: 1.5; }

/* ============================================================
   TOAST
============================================================ */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--accent);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================================
   RESPONSIVE – 1024px
============================================================ */
@media (max-width: 1024px) {
  #site-header    { padding: 0 28px; }
  section         { padding: 70px 28px; }
  .inner-page     { padding: 60px 28px 80px; }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 40px; }
  #site-footer    { padding: 56px 28px 0; }
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .news-grid      { grid-template-columns: 1fr 1fr; }
  .vision-grid,
  .region-grid    { grid-template-columns: 1fr; }
  .vision-image,
  .region-image   { height: 340px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .hero-content   { padding: 60px 28px; }
  .hero-visual    { width: 44%; }
  .contact-form-wrap { padding: 28px; }
}

/* ============================================================
   RESPONSIVE – 768px
============================================================ */
@media (max-width: 768px) {
  #site-header    { padding: 0 18px; }
  nav             { display: none; }
  .hamburger      { display: flex; }
  section         { padding: 60px 18px; }
  .inner-page     { padding: 50px 18px 70px; }
  .excellence     { padding: 60px 18px; }
  .hero           { padding: 0; }
  .hero-content   { padding: 52px 18px 52px 18px; }
  .hero-visual    { display: none; }
  .hero h1        { font-size: 34px; }
  .services-grid  { grid-template-columns: 1fr; gap: 16px; }
  .news-grid      { grid-template-columns: 1fr; gap: 16px; }
  .footer-top     { grid-template-columns: 1fr; gap: 36px; }
  #site-footer    { padding: 46px 18px 0; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-links   { justify-content: center; }
  .form-row       { grid-template-columns: 1fr; }
  .hero-cta       { flex-direction: column; }
  .blog-grid      { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .book-card      { padding: 24px; }
  .book-section   { padding: 56px 18px 80px; }
  .inner-page-inner { max-width: 100%; }
  .contact-form-wrap { padding: 22px; }
}

@media (max-width: 480px) {
  .logo-text      { font-size: 14px; }
  .impressum-card { padding: 20px; }
}

/* ============================================================
   LOGO IMAGE
============================================================ */
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  /* Logo ist dunkelblau – auf weißem Header gut sichtbar */
}

/* Im Footer: Logo auf dunklem Hintergrund – aufhellen */
.logo-img--footer {
  height: 42px;
  width: auto;
  /* Dunkelblau auf dunklem Footer-Hintergrund -> Filter für sichtbarkeit */
  filter: brightness(0) invert(1) opacity(0.85);
}

/* Auf kleinen Screens etwas kleiner */
@media (max-width: 768px) {
  .logo-img        { height: 36px; }
  .logo-img--footer{ height: 32px; }
}

/* ============================================================
   BOOKING FORM – Leistungsauswahl & Extras
============================================================ */
.leistung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.leistung-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  user-select: none;
}
.leistung-option input[type="radio"] {
  display: none;
}
.leistung-option:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.leistung-option.selected,
.leistung-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(42,100,150,0.1);
  color: var(--accent);
  font-weight: 600;
}
.leistung-icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* Book success state */
.book-success {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.book-success svg { margin: 0 auto 20px; }
.book-success h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 14px;
}
.book-success p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
}

/* Form note */
.form-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.form-note a { color: var(--accent); }
.form-note a:hover { text-decoration: underline; }

/* Leistungsauswahl JS-Interaktivität */
@media (max-width: 480px) {
  .leistung-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CORE WEB VITALS – CLS Prevention
   Alle Bilder und Elemente haben feste Dimensionen
   um Layout Shift zu verhindern
============================================================ */
img {
  /* Verhindert CLS: reserviert Platz bevor Bild geladen */
  aspect-ratio: attr(width) / attr(height);
  height: auto;
}
.vision-image img    { aspect-ratio: 4/5; }
.region-image img    { aspect-ratio: 8/9; }
.news-img            { aspect-ratio: 3/2; height: 200px; }
.blog-card img       { aspect-ratio: 4/3; height: 220px; }
.portfolio-card img  { aspect-ratio: 4/3; height: 300px; }

/* Skeleton loading – verhindert CLS bei lazy images */
.vision-image, .region-image, .news-card, .blog-card, .portfolio-card {
  background-color: var(--bg3, #eaf0f8);
}

/* Schriften: System-Stack = kein FOUT/FOIT, kein Layout Shift */
body { font-display: swap; }

/* Focus-Styles für Accessibility (auch SEO-relevant) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent, #2a6496);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   PRINT STYLES – für Indexierbarkeit
============================================================ */
@media print {
  header, footer, .hamburger, .mobile-nav, .hero-visual, .marquee-bar { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
  .section-inner { max-width: 100%; }
}

/* Skip Link für Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent, #2a6496);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }
