/* =============================================
   IMMOBILIENFOTOGRAFIE HAVEL – Design System
   ============================================= */

/* --- Local Fonts (Variable Fonts) --- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  /* CI Brand Colors */
  --color-white:        #FFFFFF;
  --color-bg:           #F5F2EA;
  --color-bg-alt:       #EFEBDF;
  --color-text:         #2A2F2E;
  --color-text-muted:   #6E756F;
  --color-text-light:   #A5ADA6;
  --color-accent:       #0E4F56;
  --color-accent-mid:   #093A40;
  --color-accent-light: #E2F0F1;
  --color-copper:       #B27A45;
  --color-copper-light: #C9A06A;
  --color-border:       #E6E0D2;
  --color-overlay:      rgba(14, 79, 86, 0.52);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Border radius */
  --radius-sm:  3px;
  --radius-md:  6px;
  --radius-lg:  12px;
  --radius-xl:  18px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.14);

  /* Transitions */
  --transition-fast:   150ms ease-out;
  --transition-base:   250ms ease-out;
  --transition-slow:   400ms ease-out;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--color-text-muted); line-height: 1.75; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-copper);
  display: block;
  margin-bottom: var(--space-sm);
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--color-bg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-accent-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}

.btn-lg {
  font-size: 1rem;
  padding: 1rem 2.25rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav--scrolled .nav__logo { color: var(--color-accent); }
.nav--scrolled .nav__link { color: var(--color-text-muted); }
.nav--scrolled .nav__link:hover { color: var(--color-accent); }
.nav--scrolled .nav__cta { display: inline-flex; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
  transition: color var(--transition-base);
  text-decoration: none;
}

.nav__logo-mark {
  flex-shrink: 0;
  display: block;
  width: 40px;
  height: auto;
}

.nav__logo-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.nav--scrolled .nav__logo-divider {
  background: #D9D2C2;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__logo-top {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: inherit;
}

.nav__logo-bottom {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: inherit;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav--scrolled .nav__hamburger span { background: var(--color-text); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 999;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover { color: var(--color-accent-mid); }

.nav__mobile-cta {
  margin-top: var(--space-xs);
  text-align: center;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 45, 0.45) 0%,
    rgba(20, 30, 45, 0.30) 50%,
    rgba(20, 30, 45, 0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  padding-top: var(--nav-height);
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease-out forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.12;
  margin-bottom: var(--space-md);
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease-out forwards;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease-out forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease-out forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease-out forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollLine 1.8s 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.hero__stats {
  position: absolute;
  bottom: 3rem;
  right: var(--space-lg);
  z-index: 2;
  display: flex;
  gap: var(--space-lg);
  opacity: 0;
  animation: fadeIn 1s 1.2s ease-out forwards;
}

.hero__stat {
  text-align: right;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* =============================================
   SERVICES
   ============================================= */
.services__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.services__header h2 { margin-bottom: var(--space-sm); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-mid);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  stroke: var(--color-accent);
}

.service-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-mid);
  margin-top: var(--space-md);
  transition: gap var(--transition-fast);
}

.service-card__link:hover { gap: 0.7rem; }

/* =============================================
   PORTFOLIO PREVIEW
   ============================================= */
.portfolio-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}

.portfolio-preview__header h2 { max-width: 400px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  cursor: pointer;
}

.portfolio-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}

.portfolio-item:nth-child(2),
.portfolio-item:nth-child(3) {
  aspect-ratio: 4/3;
}

.portfolio-item:nth-child(4),
.portfolio-item:nth-child(5) {
  aspect-ratio: 4/3;
}

.portfolio-item:nth-child(6) {
  grid-column: 3 / 4;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,30,45,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

/* =============================================
   PAKETE / PREISE
   ============================================= */
.pricing__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.pricing__header h2 { margin-bottom: var(--space-sm); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.pricing-card--featured p,
.pricing-card--featured .pricing-card__feature { color: rgba(255,255,255,0.8); }

.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price { color: var(--color-white); }

.pricing-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(255,255,255,0.18);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.pricing-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.pricing-card--featured .pricing-card__name { color: rgba(255,255,255,0.65); }

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.pricing-card p {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-card__price sup {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 400;
}

.pricing-card__price-note {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.pricing-card--featured .pricing-card__price-note { color: rgba(255,255,255,0.5); }

.pricing-card__divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) 0;
}

.pricing-card--featured .pricing-card__divider { background: rgba(255,255,255,0.2); }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.pricing-card__feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--color-accent-mid);
}

.pricing-card--featured .pricing-card__feature svg { stroke: rgba(255,255,255,0.8); }

.pricing-card__cta {
  width: 100%;
  justify-content: center;
}

.pricing-card--featured .btn-primary {
  background: var(--color-white);
  color: var(--color-accent);
}

.pricing-card--featured .btn-primary:hover {
  background: var(--color-bg);
}

/* =============================================
   ÜBER UNS TEASER
   ============================================= */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-teaser__image {
  position: relative;
}

.about-teaser__img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}

.about-teaser__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser__img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 120px;
  text-align: center;
}

.about-teaser__badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.about-teaser__badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-teaser__text h2 { margin-bottom: var(--space-md); }
.about-teaser__text p { margin-bottom: var(--space-md); }
.about-teaser__text .btn { margin-top: var(--space-xs); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--color-accent);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #111519;
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .nav__logo {
  color: var(--color-white);
  display: inline-flex;
  margin-bottom: var(--space-md);
}

.footer__brand .nav__logo-divider { background: rgba(255,255,255,0.25); }
.footer__brand .nav__logo-top  { font-size: 0.58rem; }
.footer__brand .nav__logo-bottom { font-size: 0.85rem; }

.footer__brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.75;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer__link:hover { color: var(--color-white); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  margin-bottom: 0.65rem;
  color: rgba(255,255,255,0.6);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(255,255,255,0.4);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE – TABLET (768px)
   ============================================= */
@media (max-width: 1024px) {
  .about-teaser {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-teaser__img-badge {
    right: var(--space-md);
    bottom: var(--space-md);
  }

  .hero__stats {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
    --space-lg:  2rem;
  }

  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: flex; }

  .hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .services__grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16/9;
  }
  .portfolio-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* About teaser */
  .about-teaser { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about-teaser__img-badge { right: var(--space-sm); bottom: var(--space-sm); }

  /* Page hero padding */
  .page-hero {
    padding: calc(var(--nav-height) + 2rem) 0 2rem;
  }
  .page-hero p { font-size: 0.95rem; }

  /* Service detail pages (leistungen.html) */
  .service-detail { grid-template-columns: 1fr !important; gap: var(--space-xl); }
  .service-detail--reverse .service-detail__image { order: -1; }

  /* About grid (ueber-mich.html) */
  .about-grid { grid-template-columns: 1fr !important; gap: var(--space-xl); }
  .about-values { grid-template-columns: 1fr 1fr; }

  /* Contact grid (kontakt.html) */
  .contact-grid { grid-template-columns: 1fr !important; gap: var(--space-xl); }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --space-3xl: 3rem; --space-2xl: 2.5rem; }

  .container { padding: 0 1.25rem; }

  .hero { min-height: 100dvh; }
  .hero__content { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero__scroll { display: none; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { aspect-ratio: 4/3; }
  .portfolio-item { aspect-ratio: 4/3 !important; }

  .pricing-card { padding: var(--space-md); }

  .about-values { grid-template-columns: 1fr; }

  /* CTA buttons full-width */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Gallery grid on portfolio page */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; }

  /* FAQ cards */
  .faq-grid { grid-template-columns: 1fr; }

  /* Addon grid */
  .addon-grid { grid-template-columns: 1fr; }

  /* Pricing full grid (preise.html) */
  .pricing-full__grid { grid-template-columns: 1fr !important; max-width: 380px; margin-left: auto; margin-right: auto; }

  /* Nav logo: hide text label on very small screens, keep icon */
  .nav__logo-text { display: none; }
  .nav__logo-divider { display: none; }
  .nav__logo-mark { width: 36px; }

  /* Footer legal links */
  .footer__legal { flex-direction: column; align-items: center; gap: 0.5rem; }

  /* Form rows single-column */
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }

/* Page header for inner pages */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--color-bg);
  text-align: center;
}

.page-hero__label { margin-bottom: var(--space-sm); }
.page-hero h1 { margin-bottom: var(--space-md); }
.page-hero p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}
