/* et-interim.de – HTML-Kopie – Live-Design 1:1 */
@import url('../fonts/fonts.css');

/* ===== DESIGN TOKENS ===== */
:root {
  --c-dark:       #06021d;
  --c-gold:       #c8a84b;
  --c-gold-dark:  #856A21;
  --c-green:      #0F6E56;
  --c-text:       #1a1a1a;
  --c-text-mid:   #6b6b6b;
  --c-text-light: #767676;
  --c-text-body:  #333;
  --c-bg:         #ffffff;
  --c-bg-light:   #f5f5f5;
  --c-bg-card:    #f7f7f7;
  --c-border:     #e8e8e8;
  --c-white:      #fff;
  --c-white-95:   rgba(255,255,255,0.95);
  --c-white-85:   rgba(255,255,255,0.85);
  --c-white-75:   rgba(255,255,255,0.75);
  --c-white-70:   rgba(255,255,255,0.7);
  --c-white-60:   rgba(255,255,255,0.6);
  --c-white-50:   rgba(255,255,255,0.5);
  --c-white-10:   rgba(255,255,255,0.1);
  --c-white-08:   rgba(255,255,255,0.08);
  --c-white-06:   rgba(255,255,255,0.06);
  --c-white-04:   rgba(255,255,255,0.04);
  --c-white-03:   rgba(255,255,255,0.03);

  /* Spacing */
  --space-2xs:  0.25rem;  /*  4px */
  --space-xs:   0.5rem;   /*  8px */
  --space-sm:   0.75rem;  /* 12px */
  --space-md:   1rem;     /* 16px */
  --space-lg:   1.25rem;  /* 20px */
  --space-xl:   1.5rem;   /* 24px */
  --space-2xl:  2rem;     /* 32px */
  --space-3xl:  2.5rem;   /* 40px */
  --space-4xl:  3.75rem;  /* 60px */
  --space-5xl:  5rem;     /* 80px */

  /* Border-Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 30px;

  --c-dark-hover: #1a1635;

  --ff-serif: 'EB Garamond', Georgia, serif;
  --ff-sans:  'DM Sans', Helvetica, Arial, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
.site-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { max-height: 50px; width: auto; }
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lang-switch {
  display: flex;
  gap: 8px;
}
.lang-btn {
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--c-dark);
  color: var(--c-white);
  border-color: var(--c-dark);
}
.lang-btn:hover:not(.active) {
  border-color: var(--c-dark);
  background: var(--c-bg-light);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}
.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav .lang-switch {
  display: none;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--c-gold);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-dark);
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .header-right > .lang-switch { display: none; }
  .site-nav .lang-switch {
    display: flex;
    padding-top: 8px;
    border-top: 1px solid var(--c-border);
    margin-top: 4px;
  }
  .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    padding: 0 24px;
    gap: 12px;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  }
  .site-nav.open {
    max-height: 400px;
    opacity: 1;
    padding: 16px 24px;
  }
  .header-inner { position: relative; }
}

/* ===== HERO / PROFILTABELLE ===== */
.hero-section {
  padding: var(--space-4xl) 0;
  background: var(--c-bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4xl);
  align-items: start;
}

/* Profiltabelle */
.hero-profile {
  max-width: 480px;
}
.profile-header {
  margin-bottom: 1.5rem;
}
.profile-name {
  font-family: var(--ff-serif);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 2px;
}
.profile-tagline {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  color: var(--c-text-mid);
}
.profile-tagline .available {
  color: var(--c-green);
  font-weight: 500;
}
.profile-table {
  border-top: 1px solid var(--c-border);
}
.profile-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-border);
}
.profile-row:last-child { border-bottom: none; }
.profile-label {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--c-text-light);
  padding-top: 2px;
}
.profile-value {
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  color: var(--c-text);
  line-height: 1.55;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.tag {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--c-text-mid);
  margin: 0 6px 4px 0;
}
.tag-sep {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--c-text-mid);
  margin: 0 6px 4px 0;
}
.profile-cta {
  margin-top: 20px;
}

/* Portrait */
.hero-portrait {
  max-width: 380px;
}
.hero-portrait img {
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-portrait {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-profile { max-width: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s, transform 0.15s;
}
.btn:hover {
  background-color: var(--c-dark-hover);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-sm {
  padding: 10px 24px;
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.btn-round {
  padding: 12px 30px;
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
}

/* ===== SECTION TAG + DIVIDER ===== */
.section-tag {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 14px;
}
.divider {
  width: 44px;
  height: 3px;
  background: var(--c-gold);
  border-radius: 2px;
  margin-bottom: 22px;
}
.divider-center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
}

/* ===== ABOUT / KERNKOMPETENZEN ===== */
.about-section {
  background: var(--c-bg);
  padding: 0;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-left h2 {
  font-family: var(--ff-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}
.about-sub {
  font-size: 0.9rem;
  color: var(--c-text-light);
  margin-bottom: 22px;
}
.about-intro {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--c-text-body);
  line-height: 1.75;
  margin-bottom: 28px;
}
.about-intro strong {
  color: var(--c-dark);
}
.about-right {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 4px solid var(--c-gold);
}
.competence-title {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-mid);
  margin-bottom: 20px;
}
.competence-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}
.competence-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.competence-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--c-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}
.competence-item h3 {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 3px;
}
.competence-item p {
  font-size: 0.8rem;
  color: var(--c-text-mid);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    padding: var(--space-3xl) var(--space-lg);
    gap: var(--space-2xl);
  }
  .about-left h2 { font-size: 1.8rem; }
  .about-right {
    border-left: none;
    border-top: 4px solid var(--c-gold);
    padding: 28px var(--space-lg);
  }
}

/* ===== STATISTIK-LEISTE ===== */
.stats-section {
  background: var(--c-dark);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  flex: 1 1 auto;
  min-width: 130px;
  max-width: 170px;
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid var(--c-white-10);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.stat-number {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--c-gold);
  display: block;
  margin-bottom: 6px;
  font-family: var(--ff-sans);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--c-white-60);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: var(--ff-sans);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-inner { padding: 30px 16px; }
  .stat-item {
    min-width: 30%;
    max-width: 33%;
    padding: 12px 8px;
    border-right: none;
    border-bottom: 1px solid var(--c-white-08);
  }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.65rem; }
}

/* ===== SERVICES / BEITRAG ===== */
.services-section {
  background: var(--c-bg-light);
}
.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px;
}
.services-header {
  text-align: center;
  margin-bottom: 50px;
}
.services-header h2 {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--c-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border-bottom: 3px solid var(--c-gold);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  opacity: 0.5;
}
.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.service-card p {
  font-size: 0.83rem;
  color: var(--c-white-60);
  line-height: 1.65;
}
.services-cta {
  text-align: center;
  margin-top: 44px;
}
.services-cta .btn-round {
  padding: 14px 38px;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .services-inner { padding: var(--space-3xl) var(--space-lg); }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-header h2 { font-size: 1.6rem; }
  .service-card { padding: 28px 24px; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-dark);
  color: var(--c-white-60);
  padding: var(--space-4xl) 0 var(--space-3xl);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-contact h4 {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-md);
}
.footer-contact address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--c-white-60);
}
.footer-contact a {
  color: var(--c-white-60);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--c-white); }
.footer-social {
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}
.footer-social a {
  color: var(--c-white-60);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--c-gold); }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-legal a {
  font-size: 0.875rem;
  color: var(--c-white-60);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--c-white); }
.footer-legal a[aria-current="page"] { color: var(--c-white); }

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ===== ABOUT PAGE: HERO ===== */
.about-hero {
  background: var(--c-bg);
}
.about-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-4xl) 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.about-hero-image {
  max-width: 380px;
}
.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.about-hero-text {
  padding-top: 0;
}
.about-hero-text .section-tag {
  color: var(--c-gold-dark);
}
.about-hero-text h1 {
  font-family: var(--ff-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.about-hero-text .about-sub {
  font-size: 0.9rem;
  color: var(--c-text-light);
  margin-bottom: 18px;
}
.about-hero-text .divider {
  background: var(--c-gold);
}
.about-hero-desc {
  font-family: var(--ff-serif);
  font-size: 1.12rem;
  color: var(--c-text-body);
  line-height: 1.85;
}
.about-hero-desc strong {
  color: var(--c-dark);
  font-weight: 700;
}

@media (max-width: 768px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    padding: 30px 20px 36px;
    gap: 30px;
  }
  .about-hero-text { padding-top: 0; }
  .about-hero-text h1 { font-size: 1.8rem; }
  .about-hero-desc { font-size: 1rem; }
}

/* ===== ABOUT PAGE: MEINE WERTE ===== */
.werte-section {
  background: var(--c-dark);
}
.werte-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px var(--space-4xl) var(--space-5xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}
.werte-image figure {
  margin: 0;
}
.werte-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.werte-image figcaption {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--c-white-50);
  text-align: center;
  margin-top: 12px;
}
.werte-content .section-tag {
  color: var(--c-gold);
}
.werte-content .divider {
  background: var(--c-gold);
}
.werte-card {
  background: var(--c-white-04);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: var(--space-md);
}
.werte-card:last-child {
  margin-bottom: 0;
}
.werte-card h3 {
  font-family: var(--ff-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--space-xs);
}
.werte-card p {
  font-size: 0.9rem;
  color: var(--c-white-70);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .werte-inner {
    grid-template-columns: 1fr;
    padding: var(--space-3xl) var(--space-lg) 50px;
    gap: 30px;
  }
  .werte-card { padding: 22px var(--space-lg); }
}

/* ===== PORTFOLIO / SERVICE PAGE ===== */
.portfolio-section {
  background: var(--c-dark);
}
.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-4xl) var(--space-5xl);
}
.portfolio-header {
  margin-bottom: var(--space-3xl);
}
.portfolio-header .section-tag {
  color: var(--c-gold);
}
.portfolio-header h1 {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: var(--space-lg);
}
.portfolio-grid-row2 {
  margin-bottom: 0;
}
.portfolio-card {
  padding: 36px var(--space-2xl);
}
.portfolio-card-bordered {
  border-left: 1px solid var(--c-white-10);
  border-right: 1px solid var(--c-white-10);
}
.portfolio-card h2 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}
.portfolio-card p {
  font-size: 0.9rem;
  color: var(--c-white-70);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}
.portfolio-card p:last-child {
  margin-bottom: 0;
}
.portfolio-list {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0;
}
.portfolio-list li {
  font-size: 0.9rem;
  color: var(--c-white-70);
  line-height: 1.75;
  margin-bottom: var(--space-xs);
}
.portfolio-list li:last-child {
  margin-bottom: 0;
}
.portfolio-list li::marker {
  color: var(--c-white-50);
}

@media (max-width: 768px) {
  .portfolio-inner {
    padding: var(--space-3xl) var(--space-lg) 50px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .portfolio-card {
    padding: 28px 0;
    border-bottom: 1px solid var(--c-white-08);
  }
  .portfolio-card:last-child {
    border-bottom: none;
  }
  .portfolio-card-bordered {
    border-left: none;
    border-right: none;
  }
  .portfolio-header h1 {
    font-size: 1.7rem;
  }
  .portfolio-card h2 {
    font-size: 1.2rem;
  }
}

/* ===== PROJEKTE / REFERENZPROJEKTE PAGE ===== */
.projekte-hero {
  background: var(--c-dark);
  border-bottom: 3px solid var(--c-gold);
}
.projekte-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-4xl) 50px;
}
.projekte-hero-inner .section-tag {
  color: var(--c-gold);
}
.projekte-hero-inner h1 {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
}

.projekte-intro {
  background: var(--c-dark);
}
.projekte-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-4xl) 50px;
}
.projekte-intro-inner p {
  font-size: 1rem;
  color: var(--c-white-85);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}
.projekte-intro-inner p:last-child {
  margin-bottom: 0;
}
.projekte-intro-inner strong {
  color: var(--c-white);
  font-weight: 700;
}

.projekte-cta-section {
  background: var(--c-dark);
}
.projekte-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-4xl) 50px;
  text-align: center;
}

.projekte-grid-section {
  background: var(--c-dark);
}
.projekte-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4xl);
}
.projekte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.projekt-card {
  background: var(--c-white-03);
  border: 1px solid var(--c-white-06);
  border-radius: var(--radius-md);
  padding: var(--space-3xl) 36px;
}
.projekt-card h2 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1.3;
  margin-bottom: var(--space-xl);
}
.projekt-rolle {
  font-size: 0.95rem;
  color: var(--c-white-85);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.projekt-rolle strong {
  color: var(--c-white);
}
.projekt-card ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0;
}
.projekt-card li {
  font-size: 0.9rem;
  color: var(--c-white-75);
  line-height: 1.65;
  margin-bottom: var(--space-xs);
}
.projekt-card li:last-child {
  margin-bottom: 0;
}
.projekt-card li strong {
  color: var(--c-white-95);
}

.projekte-divider-section {
  background: var(--c-dark);
}
.projekte-divider-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px var(--space-4xl) var(--space-lg);
}

.projekte-closing {
  background: var(--c-dark);
}
.projekte-closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-4xl) var(--space-5xl);
}
.projekte-closing-inner p {
  font-size: 1.05rem;
  color: var(--c-white-85);
  line-height: 1.8;
  font-weight: 700;
  margin-bottom: 30px;
}
.projekte-closing-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .projekte-hero-inner {
    padding: var(--space-3xl) var(--space-lg) 30px;
  }
  .projekte-hero-inner h1 {
    font-size: 1.7rem;
  }
  .projekte-intro-inner {
    padding: 30px var(--space-lg) var(--space-3xl);
  }
  .projekte-cta-inner {
    padding: 10px var(--space-lg) var(--space-3xl);
  }
  .projekte-grid-inner {
    padding: 0 var(--space-lg);
  }
  .projekte-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .projekt-card {
    padding: 28px var(--space-xl);
  }
  .projekt-card h2 {
    font-size: 1.15rem;
  }
  .projekte-divider-inner {
    padding: var(--space-3xl) var(--space-lg) var(--space-md);
  }
  .projekte-closing-inner {
    padding: var(--space-md) var(--space-lg) 50px;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--c-bg-light);
  min-height: calc(100vh - 82px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-5xl) var(--space-xl) 100px;
  text-align: center;
}
.contact-inner h1 {
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.contact-subtitle {
  font-size: 1.05rem;
  color: var(--c-text-body);
  margin-bottom: 30px;
}
.contact-divider {
  width: 100%;
  max-width: 500px;
  height: 1px;
  background: var(--c-border);
  margin: 0 auto var(--space-3xl);
}
.contact-details p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 10px;
  line-height: 1.6;
}
.contact-details p:last-child {
  margin-bottom: 0;
}
.contact-details a {
  color: var(--c-dark);
  font-weight: 400;
  transition: color 0.2s;
}
.contact-details a:hover {
  color: var(--c-gold);
}

@media (max-width: 768px) {
  .contact-inner {
    padding: 50px var(--space-lg) 70px;
  }
  .contact-inner h1 {
    font-size: 2.2rem;
  }
}

/* ===== LEGAL PAGES (Impressum, Datenschutz, Cookie-Richtlinie) ===== */
.legal-section {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl) var(--space-5xl);
}
.legal-inner h1 {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--c-dark);
  margin-bottom: var(--space-3xl);
  text-align: center;
}
.legal-content h2 {
  font-family: var(--ff-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: var(--space-2xl) 0 var(--space-sm);
}
.legal-content h3 {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin: var(--space-lg) 0 var(--space-xs);
}
.legal-content p {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text-body);
  margin-bottom: var(--space-sm);
}
.legal-content a {
  color: var(--c-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--c-dark);
}
.legal-content ol,
.legal-content ul {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text-body);
  margin: 0 0 var(--space-md) var(--space-xl);
}
.legal-content li {
  margin-bottom: var(--space-xs);
}
.legal-date {
  margin-top: var(--space-2xl);
  font-style: italic;
  color: var(--c-text-mid);
}

/* Cookie-Tabelle */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-xl);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
}
.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
}
.cookie-table th {
  background: var(--c-bg-light);
  font-weight: 600;
  color: var(--c-dark);
}
.cookie-table td {
  color: var(--c-text-body);
}

@media (max-width: 600px) {
  .legal-section { padding: var(--space-3xl) var(--space-md) var(--space-4xl); }
  .legal-inner h1 { font-size: 1.8rem; }
  .cookie-table { font-size: 0.82rem; }
  .cookie-table th,
  .cookie-table td { padding: 8px 10px; }
}

/* ===== TABLET BREAKPOINT ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Hero / Profiltabelle */
  .hero-inner {
    grid-template-columns: 1fr auto;
    gap: 36px;
  }
  .hero-portrait { max-width: 280px; }

  /* About / Kernkompetenzen */
  .about-inner {
    grid-template-columns: 1fr;
    padding: 50px var(--space-3xl);
    gap: var(--space-3xl);
  }

  /* Statistik-Leiste */
  .stats-inner { padding: var(--space-3xl) var(--space-xl); }
  .stat-item {
    min-width: 120px;
    padding: 10px 12px;
  }

  /* Services */
  .services-inner { padding: 50px var(--space-2xl); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* About-Hero */
  .about-hero-inner {
    grid-template-columns: 1fr;
    padding: var(--space-3xl) var(--space-2xl);
    gap: var(--space-2xl);
  }
  .about-hero-image { max-width: 360px; }

  /* Werte */
  .werte-inner {
    grid-template-columns: 1fr;
    padding: 50px var(--space-2xl) var(--space-4xl);
    gap: 36px;
  }

  /* Portfolio */
  .portfolio-inner { padding: var(--space-3xl) var(--space-2xl) var(--space-4xl); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card-bordered {
    border-left: none;
    border-right: none;
  }

  /* Projekte */
  .projekte-hero-inner { padding: var(--space-3xl) var(--space-2xl) 36px; }
  .projekte-intro-inner { padding: var(--space-2xl) var(--space-2xl) var(--space-3xl); }
  .projekte-grid-inner { padding: 0 var(--space-2xl); }
  .projekte-divider-inner { padding: var(--space-3xl) var(--space-2xl) var(--space-md); }
  .projekte-closing-inner { padding: var(--space-md) var(--space-2xl) var(--space-4xl); }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* ===== FOCUS STATES ===== */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}
.nav-link:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
  border-bottom-color: transparent;
}

/* ===== SKIP-TO-CONTENT ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 1000;
  padding: var(--space-xs) var(--space-lg);
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ===== PRINT STYLESHEET ===== */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .skip-link,
  .profile-cta,
  .services-cta,
  .projekte-cta-section,
  .projekte-closing-cta { display: none !important; }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  .stats-section {
    background: #fff !important;
    border: 1px solid #ccc;
  }
  .stat-number { color: #000 !important; }
  .stat-label { color: #333 !important; }

  .service-card {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
    border-bottom: 2px solid #999;
  }
  .service-card h3 { color: #000 !important; }
  .service-card p { color: #333 !important; }

  .werte-section,
  .portfolio-section,
  .projekte-hero,
  .projekte-intro,
  .projekte-grid-section,
  .projekte-divider-section,
  .projekte-closing {
    background: #fff !important;
    color: #000 !important;
  }
  .werte-card { background: #f5f5f5 !important; }
  .werte-card h3 { color: #000 !important; }
  .werte-card p { color: #333 !important; }

  .portfolio-card h2 { color: #000 !important; }
  .portfolio-card p { color: #333 !important; }

  .projekt-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
  }
  .projekt-card h2 { color: #000 !important; }
  .projekt-rolle, .projekt-card li { color: #333 !important; }

  a { color: #000 !important; text-decoration: underline; }
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--c-dark);
  border-top: 2px solid var(--c-gold);
  padding: var(--space-lg) var(--space-xl);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 0;
  min-width: 280px;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  color: var(--c-white-85);
  line-height: 1.6;
  margin: 0;
}
.cookie-banner-text a {
  color: var(--c-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cookie-banner-text a:hover {
  color: var(--c-gold);
}
.cookie-banner-text a:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}
.cookie-banner-btn {
  flex-shrink: 0;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 28px;
  background: var(--c-gold);
  color: var(--c-dark);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}
.cookie-banner-btn:hover {
  background: #d4b85a;
  transform: translateY(-1px);
}
.cookie-banner-btn:active {
  transform: translateY(0);
}
.cookie-banner-btn:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .cookie-banner { padding: var(--space-md) var(--space-lg); }
  .cookie-banner-inner { gap: var(--space-md); }
  .cookie-banner-text { font-size: 0.8125rem; }
  .cookie-banner-btn { width: 100%; text-align: center; }
}

@media print {
  .cookie-banner { display: none !important; }
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
