/*
Theme Name: CerasUno Cilento
Theme URI: https://cerasuno.it
Author: CerasUno
Description: Custom theme for the CerasUno holiday house in Cilento.
Version: 3.4
Text Domain: cerasuno
*/

/* ==============================
   GLOBAL
============================== */
:root {
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --color-bg: #faf1e3;
  --color-text: #222;
  --color-muted: #555;
  --color-accent: #d4a266;
  --color-accent-dark: #b58442;
  --color-surface: #f7ebda;
  --color-footer-bg: #f3e2cb;
}

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

html, body {
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}
/* Sichtbarkeits-Logik Sprachwähler */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}
/* ==============================
   LAYOUT
============================== */
main {
  padding-top: 16px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-intro {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-muted);
}



/* ==============================
   HEADER (DESKTOP)
============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 26px;
  background: linear-gradient(
    to bottom,
    rgba(250,241,227,0.98),
    rgba(250,241,227,0.7),
    rgba(250,241,227,0)
  );
  pointer-events: none;
  z-index: 1;
}

.header-inner {
  min-height: 72px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 32px;
}

@font-face {
  font-family: "YourFont";
  src: url("yourfont.woff2") format("woff2");
  font-display: swap;
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
}

/* Logo */
.site-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  margin-right: 12px;
}
.site-logo-img {
  display: block;
  height: 44px;
  width: auto;
}

/* Navigation */
.main-nav .menu {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.main-nav .menu a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.main-nav .menu a:hover {
  color: var(--color-accent-dark);
}

/* PRENOTA – Outline (unkaputtbar) */
.main-nav a[href="#prenota"] {
  border: 0.75px solid currentColor;
  border-radius: 999px;
  padding: 8px 16px;
  margin-left: 12px;
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Prenota – Outline NUR im Normalzustand */
.main-nav .menu a[href="#prenota"]:not(.active):not([aria-current="page"]),
.main-nav .menu a[href$="/prenota/"]:not(.active):not([aria-current="page"]) {
  border: 0.75px solid currentColor;
}

.header-utils {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.area-ospiti-link {
  font-size: 0.85em;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  opacity: 0.65;
  white-space: nowrap;
}

.area-ospiti-link:hover {
  opacity: 1;
}

/* Language Switcher (Desktop/Tablet) */
.lang-dropdown {
  justify-self: end;
  position: relative;
  z-index: 10;
}

.lang-current {
  background: var(--color-surface);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 6px 14px;
  min-width: 60px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.lang-options {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.lang-dropdown.open .lang-options {
  display: block;
}

.lang-options a {
  display: block;
  padding: 8px 16px;
}
/* CLS-Fix: Header darf beim Font-Load nicht springen */
.header-inner{
  min-height: 72px; /* ggf. 68–80 testen */
}

/* CLS-Fix: Nav-Zeile bleibt stabil bei Font-Swap */
.main-nav .menu{
  align-items: center;
}

.main-nav .menu a{
  line-height: 1;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Area Ospiti – bewusst separiert */
.main-nav .menu a.menu-ospiti {
  margin-left: 28px;
  padding-left: 18px;
  border-left: 1px solid rgba(0,0,0,0.15);
  opacity: 0.75;
  font-size: 0.95em;
}

/* Hover bleibt ruhig */
.main-nav .menu a.menu-ospiti:hover {
  opacity: 1;
}

/* ==============================
   ACCOMMODATION
============================== */

.accommodation {
  padding-top: 80px;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.accommodation-item h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 24px;
}

.accommodation-item img {
  width: 100%;
  display: block;
  border-radius: 2px;
}

/* ==============================
   IMAGES – ACCOMMODATION (FINAL)
============================== */

.alloggio-images .section-intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.image-grid figure {
  margin: 0;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}


/* ==============================
   USP – UNTERKUNFT
============================== */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.usp-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.usp-icon {
  font-size: 28px;
  line-height: 1;
  color: var(--color-accent-dark);
  margin-top: 2px;
}

.usp-item h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px 0;
}

.usp-item p {
  font-size: 15px;
  margin: 0;
  color: var(--color-muted);
}

/* Mobile */
@media (max-width: 900px) {
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==============================
   HERO – ATMOSPHERIC BLEND
============================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
  color: #fff;
  background: var(--color-bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://cerasuno.it/wp-content/uploads/2025/12/Gross-IMG_0778-Kopie.jpeg");
  background-size: cover;
  background-position: center top;
  filter: saturate(1) contrast(1) brightness(1);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(238, 224, 200, 0.15) 0%,
    rgba(238, 224, 200, 0.45) 45%,
    rgba(238, 224, 200, 0.85) 75%,
    var(--color-bg) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 140px 24px 160px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 64px;
  margin-bottom: 16px;
  color: #2a1d0f;
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 32px;
  color: #3a2a18;
}

/* ==============================
   HERO BUTTONS
============================== */

.hero .btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* Primary */
.hero .btn-primary {
  background: linear-gradient(
    to bottom,
    #e3c08a 0%,
    #d4a266 100%
  );
  color: #2a1d0f;
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.hero .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Secondary */
.hero .btn-secondary {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  color: #2a1d0f; /* gleiche Tonalität wie Primary */
  border: 1px solid rgba(0,0,0,0.08);
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.7);
}
/* ==============================
   RESPONSIVE: TABLET (901px – 1120px)
============================== */
@media (max-width: 1120px) and (min-width: 901px) {
  .header-inner {
    padding: 14px 24px;
    column-gap: 24px;
  }

  .main-nav .menu {
    gap: 12px;
  }

  .main-nav .menu a {
    font-size: 14.5px;
    padding: 6px 12px;
  }

  .site-logo {
    font-size: 20px;
  }

  .lang-current {
    padding: 6px 12px;
    font-size: 14px;
  }
}
@media (max-width: 900px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .accommodation-item h3 {
    font-size: 20px;
  }
}
/* ==============================
   RESPONSIVE: MOBILE (≤900px)
============================== */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
    .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .header-inner {
    grid-template-columns: auto auto;
    padding: 14px 24px;
  }

  /* Hamburger Icon */
  .nav-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3000;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #222;
    margin: 5px 0;
  }

  /* Mobile Slide-in Menü */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--color-bg);
    padding: 80px 24px 40px;
    transition: right 0.3s ease;
    z-index: 2500;
    display: flex;
    flex-direction: column;
  }

  .main-nav.open {
    right: 0;
  }

  /* Haupt-Navigation */
.main-nav .menu {
  flex-direction: column;
  gap: 16px;
  order: 1;
  margin: 0;
  padding: 0;

}
.main-nav .menu a {
  font-size: 16px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

  /* Sprachliste im Mobile-Menü – einfache vertikale Liste */
.lang-dropdown {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  order: 2;
  align-self: flex-start;
}
  .lang-current {
    display: none;
  }

  .lang-options {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }

.lang-options a {
  display: block;
  padding: 6px 0;
  font-size: 12px;          /* bewusst kleiner */
  letter-spacing: 0.08em;  /* ruhiger, UI-typisch */
  text-transform: uppercase;
  color: var(--color-muted);
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}
  .lang-options a:hover {
    color: var(--color-text);
    opacity: 1;
  }

  .lang-options a.current-lang {
    font-weight: 600;
    color: var(--color-text);
    opacity: 1;
  }
}
/* ==============================
   FOOTER
============================== */

.site-footer {
  background: var(--color-footer-bg);
  margin-top: 120px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* Logo */
.footer-logo-img {
  height: 150px;
  width: auto;
  opacity: 0.85;

  /* Papierprägung */
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.6))
    drop-shadow(0 -1px 0 rgba(0,0,0,0.12));
}

/* Links */
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-text);
}

/* Copyright */
.footer-copy {
  font-size: 13px;
  color: var(--color-muted);
}
/* ==============================
   USP – FINAL
============================== */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.usp-item {
  background: rgba(255,255,255,0.35);
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;

  display: flex;
  flex-direction: column; /* ← DAS war der Kernfehler */
  align-items: center;
}

.usp-icon-box {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;

background: none;
  box-shadow: none;}

.usp-icon {
  width: 48px;
  height: 48px;
  stroke: var(--color-accent-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.7;
}

.usp-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

/* Mobile */
@media (max-width: 900px) {
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==============================
   HAUPTMENÜ – ACTIVE PILL (FINAL)
============================== */
.main-nav .menu a.active {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
}

/* ==============================
   MAIN NAV – TYPO FIX (FINAL)
============================== */
.main-nav .menu a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==============================
   FRONTPAGE: #dintorni – KACHELGRID (TEXT IM BILD)
============================== */

#dintorni .ambient-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
  max-width: none;
}

#dintorni .ambient-tile{
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #eee;
}

/* Bild */
#dintorni .ambient-image{
  background: #eee;
  overflow: hidden;
}

#dintorni .ambient-image img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

/* dunkler Verlauf unten */
#dintorni .ambient-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.60),
    rgba(0,0,0,0.20) 55%,
    rgba(0,0,0,0.00) 80%
  );
  pointer-events:none;
}

/* Text overlay */
#dintorni .ambient-text{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  z-index: 1;
  margin: 0;
}

#dintorni .ambient-text h3{
  margin: 0 40px 6px 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.95);
}

#dintorni .ambient-text p{
  margin: 0 40px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
}

/* Pfeil (ohne extra HTML-Element) */
#dintorni .ambient-tile::before{
  content: "→";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  z-index: 2;
}

@media (hover:hover){
  #dintorni .ambient-tile:hover .ambient-image img{ transform: scale(1.05); }
  #dintorni .ambient-tile:hover::before{ background: rgba(255,255,255,0.26); }
}

/* Responsive */
@media (max-width: 900px){
  #dintorni .ambient-grid{ grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 600px){
  #dintorni .ambient-grid{ grid-template-columns: 1fr; }
}

/* ==============================
   DINTORNI – DETAILSEITE (FINAL)
   Layout: Hero zuerst, Titel+Lead im Bild (Overlay),
   Text darunter, dann „Altri dintorni“-Kacheln
============================== */

/* Wrapper */
.ambient-detail{
  padding-top: 40px;
}

/* ==============================
   HERO (Bild + Caption im Bild)
============================== */

.ambient-detail .ambient-hero{
  position: relative;
  margin: 0 auto 28px;
  max-width: 980px;
  border-radius: 28px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  height: clamp(340px, 55vh, 560px);
}

.ambient-detail .ambient-hero img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Gradient für Lesbarkeit unten */
.ambient-hero--title::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0) 80%
  );
  pointer-events: none;
}

/* Caption-Overlay */
.ambient-hero-caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 18px;
  z-index: 1;
}

.ambient-title{
  font-family: var(--font-sans);
  font-size: 44px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  color: #fff;
}

.ambient-lead{
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 60ch;
}

/* ==============================
   CONTENT TEXT (unter Hero)
============================== */

.ambient-content{
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-muted);
}

.ambient-content p{
  margin: 0 0 16px;
}

/* ==============================
   DINTORNI – DETAILSEITE (SANS, NO BLACK, ONEPAGER-STYLE)
============================== */

.ambient-detail{
  padding-top: 40px;
}

/* HERO */
.ambient-detail .ambient-hero{
  position: relative;
  margin: 0 auto 28px;
  max-width: 980px;
  border-radius: 28px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  height: clamp(320px, 52vh, 520px);
}

.ambient-detail .ambient-hero img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ambient-hero--title::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0) 80%
  );
  pointer-events: none;
}

/* Caption */
.ambient-hero-caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 18px;
  z-index: 1;
}

/* KEINE SERIFEN */
.ambient-title,
.ambient-lead,
.ambient-content,
.ambient-related-title,
.ambient-related .ambient-text,
.ambient-related .ambient-text h3,
.ambient-related .ambient-text p{
  font-family: var(--font-sans);
}

/* KEIN SCHWARZ: braun/muted wie OnePager-Feeling */
.ambient-title{
  font-size: 40px;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.ambient-lead{
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 62ch;
  font-weight: 400;
}

/* Textbereich */
.ambient-content{
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-muted);
}

.ambient-content p{
  margin: 0 0 16px;
}

/* ==============================
   ALTRI DINTORNI (unten) – SCOPED
============================== */

.ambient-related{
  margin-top: 56px;
}

.ambient-related-title{
  max-width: 980px;
  margin: 0 auto 18px;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-muted);
}

.ambient-related .ambient-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.ambient-related .ambient-tile{
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.ambient-related .ambient-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.11);
}

.ambient-related .ambient-image{
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
}

.ambient-related .ambient-image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover:hover){
  .ambient-related .ambient-tile:hover .ambient-image img{
    transform: scale(1.04);
  }
}

.ambient-related .ambient-text{
  margin: 0;
  padding: 16px 16px 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-muted);
}

.ambient-related .ambient-text h3{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-muted); /* kein Schwarz */
}

.ambient-related .ambient-text p{
  margin: 0;
}

@media (max-width: 900px){
  .ambient-title{ font-size: 32px; }
  .ambient-detail .ambient-hero{ height: clamp(260px, 46vh, 420px); }
  .ambient-related .ambient-grid{ grid-template-columns: 1fr; }
}

/* ==============================
  ANFAHRT – MODERNES CARD-LAYOUT
============================== */

.anfahrt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.anfahrt-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;           /* dezente 1px-Rahmenlinie */
    border-radius: 18px;                 /* schöne abgerundete Ecken */
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07); /* eleganter Schatten */
    transition: all 0.3s ease;
}

.anfahrt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); /* Hover-Effekt für Premium-Feeling */
}

.anfahrt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
}

.anfahrt-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%); /* erzwingt schwarz, falls farbige Bilder */
}

.anfahrt-card h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #333;
}

.anfahrt-card p {
    line-height: 1.75;
    color: #555;
    font-size: 1em;
    margin: 0;
    hyphens: auto;
    word-break: break-word;
}