/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --dark:    #061f14;
  --dark2:   #092b1d;
  --green:   #7ac51d;
  --green2:  #a4e63b;
  --white:   #ffffff;
  --soft:    #f5f8f3;
  --text:    #152017;
  --muted:   #6f7d70;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 12px rgba(6,31,20,.08);
  --shadow-md: 0 6px 32px rgba(6,31,20,.13);
  --shadow-lg: 0 16px 56px rgba(6,31,20,.18);

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', Arial, Helvetica, sans-serif;

  --max-w: 1160px;
  --header-h: 72px;

  --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-headline.center { text-align: center; }

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-primary {
  background: var(--green);
  color: var(--dark);
  border-color: var(--green);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--green2);
  border-color: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(122,197,29,.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--dark);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green2);
  border-color: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(122,197,29,.4);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-sub {
  font-size: .72rem;
  color: var(--green);
  font-weight: 500;
  letter-spacing: .04em;
}

/* Nav */
.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.header-cta { flex-shrink: 0; }

/* SmartyMe Logo im Header */
.header-smartyme-logo {
  height: 28px;
  width: auto;
  opacity: .85;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.header-smartyme-logo:hover { opacity: 1; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  /* svh = stable viewport height, avoids iOS address-bar jump */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background:
    linear-gradient(105deg, rgba(6,31,20,.96) 40%, rgba(6,31,20,.6) 100%),
    url('Bilder_Esp_Entdecker_Tour/Thomas_Kirche_Wilhelm_Kern_Platz.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(122,197,29,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Soft vignette at the bottom of the hero for a clean visual transition */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, rgba(3,12,8,.5) 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero-content { max-width: 780px; }

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-headline-accent { color: var(--green); }

.hero-subline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  letter-spacing: .03em;
}

.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.benefit-icon {
  display: flex;
  align-items: center;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-wrap {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-phone-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

/* ============================================================
   TOUREN SECTION
   ============================================================ */
.touren-section {
  background: var(--soft);
}

.touren-section .section-headline {
  margin-bottom: 48px;
}

.tour-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Tour card image area */
.tour-card-img {
  position: relative;
  height: 240px;
  background: var(--dark2);
  overflow: hidden;
}

.tour-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tour-card:hover .tour-bg-img { transform: scale(1.04); }

.tour-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,31,20,.35) 0%, rgba(6,31,20,.7) 100%);
}
.tour-card-img-overlay--kids {
  background: linear-gradient(to bottom, rgba(6,31,20,.2) 0%, rgba(9,43,29,.75) 100%);
}

.tour-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 160px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.5));
}

/* Kids badge */
.kids-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 160px;
  height: 160px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  border: 4px solid var(--green);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  text-align: center;
  padding: 12px;
}
.kids-badge-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .06em;
  line-height: 1;
}
.kids-badge-sub {
  font-size: .65rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.kids-badge-sub2 {
  font-size: .6rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Tour card body */
.tour-card-body {
  padding: 28px 28px 32px;
}
.tour-card--adult .tour-card-body { background: var(--dark); }
.tour-card--kids .tour-card-body  { background: var(--dark2); }

.tour-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.tour-card-text {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
  line-height: 1.6;
}

.powered-by {
  text-align: center;
  margin-top: 40px;
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.powered-by-link { display: inline-flex; align-items: center; }
.powered-by-logo {
  height: 22px;
  width: auto;
  opacity: .6;
  transition: opacity var(--transition);
  vertical-align: middle;
}
.powered-by-link:hover .powered-by-logo { opacity: 1; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--white);
}

.how-section .section-headline {
  margin-bottom: 56px;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.how-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green);
  margin-bottom: 20px;
  border: 2px solid rgba(122,197,29,.2);
  transition: background var(--transition), border-color var(--transition);
}
.how-step:hover .how-step-icon {
  background: rgba(122,197,29,.12);
  border-color: var(--green);
}

.how-step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.how-step-text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.how-step-divider {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(122,197,29,.3), transparent);
  align-self: center;
  flex-shrink: 0;
  margin-top: -20px;
}

/* ============================================================
   ZIELGRUPPEN / VERANSTALTER CTA
   ============================================================ */
.target-section {
  background: var(--soft);
}

.target-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.target-left .section-headline { margin-bottom: 32px; }

.target-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.target-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}

.target-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--green);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* CTA Card */
.cta-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
}

.cta-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
}

.cta-card-text {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
  line-height: 1.65;
}

.cta-card-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.cta-card-note svg { flex-shrink: 0; color: var(--green); }

/* ============================================================
   SPONSOREN
   ============================================================ */
.sponsoren-section {
  background: var(--white);
}

.sponsoren-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}

.sponsoren-content .section-headline { margin-bottom: 16px; }

.sponsoren-text {
  font-size: .97rem;
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.7;
}

.sponsoren-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.sponsoren-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sponsoren-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.sponsoren-benefit strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.sponsoren-benefit p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

.sponsoren-cta { width: 300px; flex-shrink: 0; }
.cta-card--dark { background: var(--dark2); }

/* ============================================================
   ÜBER SMARTYME
   ============================================================ */
.ueber-section {
  background: var(--soft);
}

.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ueber-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.ueber-content .section-headline { margin-bottom: 16px; }

.ueber-text {
  font-size: .97rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.75;
}

.ueber-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ueber-facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
}

.fact-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  min-width: 90px;
}

/* ============================================================
   KONTAKT FORMULAR
   ============================================================ */
.kontakt-section {
  background: var(--white);
}

.kontakt-section .section-eyebrow.center,
.kontakt-section .section-headline.center {
  text-align: center;
}

.kontakt-intro {
  text-align: center;
  color: var(--muted);
  font-size: .97rem;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.kontakt-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(6,31,20,.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--soft);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122,197,29,.15);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: .7;
}

.kontakt-submit {
  align-self: flex-start;
}

/* Erfolgsmeldung */
.form-success {
  display: none;
  gap: 18px;
  padding: 24px 24px 22px;
  border-radius: var(--radius-md);
  background: #f0f9e8;
  border: 1px solid #b8dfa0;
}
.form-success.is-visible { display: flex; align-items: flex-start; }

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d4f0b8;
  color: #2d6a00;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-success-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-success-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e4d00;
  line-height: 1.3;
  margin: 0;
}

.form-success-text {
  font-size: .92rem;
  color: #2e5a00;
  line-height: 1.65;
  margin: 0;
}

.form-success-note {
  font-size: .88rem;
  color: #3d6b10;
  line-height: 1.6;
  margin: 0;
  padding: 8px 12px;
  background: rgba(122,197,29,.12);
  border-radius: var(--radius-sm);
  border-left: 3px solid #7ac51d;
}

.form-success-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: .87rem;
  font-weight: 600;
  color: #2d6a00;
  text-decoration: none;
  transition: color var(--transition);
}
.form-success-link:hover { color: #1e4d00; text-decoration: underline; }
.form-success-link svg { flex-shrink: 0; }

/* Fehlermeldung */
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(200,40,40,.07);
  color: #7a1a1a;
  border: 1px solid rgba(200,40,40,.22);
  font-size: .92rem;
  line-height: 1.6;
}
.form-error.is-visible { display: flex; }

/* Mobile */
@media (max-width: 480px) {
  .form-success { gap: 14px; padding: 20px 18px; }
  .form-success-icon { width: 36px; height: 36px; }
  .form-success-title { font-size: .95rem; }
  .form-success-text { font-size: .88rem; }
  .form-success-note { font-size: .84rem; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .kontakt-submit { width: 100%; justify-content: center; }
  /* iOS: prevent zoom on input focus */
  .form-group input,
  .form-group textarea { font-size: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding-top: 72px;
  padding-bottom: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Footer Logo */
.footer-logo-exploree {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.footer-smartyme-logo {
  height: 32px;
  width: auto;
  opacity: .8;
  transition: opacity var(--transition);
  display: block;
}
.footer-smartyme-logo:hover { opacity: 1; }

.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-link:hover {
  color: var(--white);
  border-color: var(--green);
  background: rgba(122,197,29,.12);
}

.footer-nav-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  display: block;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--green); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact h4 { margin-bottom: 6px; }

.footer-qr-title {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
  line-height: 1.4;
}

.footer-qr-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(122,197,29,.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-qr-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ============================================================
   ADDITIONAL BUTTONS
   ============================================================ */
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: rgba(6,31,20,.28);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  transform: translateY(-1px);
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ============================================================
   HERO BENEFIT BOXES
   ============================================================ */
.hero-box-wrap {
  background: transparent;
  padding: 0 0 88px;
  position: relative;
  z-index: 4;
  margin-top: 48px;
}

.hero-box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: -88px;
  position: relative;
  z-index: 10;
}

.hero-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--green);
}

.hero-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--green);
  margin-bottom: 16px;
}

.hero-box-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero-box-text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   PRAXISBEISPIEL
   ============================================================ */
.praxis-section {
  background: var(--soft);
  padding-top: calc(88px + 88px); /* extra for hero-box overlap */
}

.praxis-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.praxis-text {
  font-size: .97rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.praxis-tag {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(122,197,29,.12);
  border: 1px solid rgba(122,197,29,.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 28px;
}
.praxis-tag svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

.praxis-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.praxis-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 8px 24px rgba(6,31,20,.18));
}

.praxis-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.praxis-stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.praxis-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.praxis-stat-label {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   ZIELGRUPPEN
   ============================================================ */
.zielgruppen-section {
  background: var(--white);
}

.zielgruppen-intro {
  text-align: center;
  color: var(--muted);
  font-size: .97rem;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.zielgruppen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.zielgruppen-card {
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(6,31,20,.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.zielgruppen-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.zielgruppen-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--green);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.zielgruppen-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.zielgruppen-text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   TRUST / WARUM
   ============================================================ */
.trust-section {
  background: var(--dark);
}

.trust-section .section-eyebrow { color: var(--green); }

.trust-section .section-headline {
  color: var(--white);
  margin-bottom: 48px;
}

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

.trust-tile {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: background var(--transition), border-color var(--transition);
}
.trust-tile:hover {
  background: rgba(122,197,29,.08);
  border-color: rgba(122,197,29,.25);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(122,197,29,.12);
  color: var(--green);
  margin-bottom: 16px;
}

.trust-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.trust-text {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ============================================================
   ANGEBOTE / PAKETE
   ============================================================ */
.angebote-section {
  background: var(--soft);
}

.angebote-intro {
  text-align: center;
  color: var(--muted);
  font-size: .97rem;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

.angebot-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.angebot-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.angebot-card--featured {
  background: var(--dark);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.angebot-card--featured:hover { transform: translateY(-8px); }

.angebot-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.angebot-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.angebot-card--featured .angebot-title { color: var(--white); }

.angebot-subtitle {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
}
.angebot-card--featured .angebot-subtitle { color: rgba(255,255,255,.6); }

.angebot-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.angebot-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text);
}
.angebot-card--featured .angebot-features li { color: rgba(255,255,255,.8); }

.angebot-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.angebote-cta {
  text-align: center;
}

/* ============================================================
   FOOTER CTA BOX
   ============================================================ */
.footer-cta-box {
  background: rgba(122,197,29,.08);
  border: 1px solid rgba(122,197,29,.2);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

.footer-cta-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-cta-text {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.footer-contact-name {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 2px;
}

.footer-contact-addr {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  margin-top: 6px;
}

/* ============================================================
   HOW STEP BADGE (step number)
   ============================================================ */
.how-step { position: relative; }

.how-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* section-eyebrow centered */
.section-eyebrow.center { text-align: center; }

/* ============================================================
   GLOBALE MOBILE-FIXES  (alle Breakpoints)
   ============================================================ */

/* Kein horizontaler Overflow */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* Lange Texte umbrechen */
h1, h2, h3, p, li, a, span, label {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Select: Custom-Pfeil, iOS-Normalisierung */
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f7d70' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* iOS Safe Area (Notch, Home Indicator) */
.site-footer {
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.site-header {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Fokuszustand für alle interaktiven Elemente */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ============================================================
   TABLET QUER  (900px – 1160px)
   ============================================================ */
@media (min-width: 900px) and (max-width: 1160px) {
  .angebote-grid { gap: 14px; }
  .angebot-card { padding: 28px 18px; }
  .zielgruppen-grid { gap: 16px; }
  .trust-grid { gap: 16px; }
  .hero-box-grid { gap: 16px; }
}

/* ============================================================
   TABLET HOCH  (max 900px)
   ============================================================ */
@media (max-width: 900px) {

  .section { padding: 64px 0; }

  /* Header / Nav */
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--dark2);
    flex-direction: column;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 99;
    /* iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-link { font-size: 1.1rem; padding: 14px 16px; color: rgba(255,255,255,.85); }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .header-smartyme-logo { display: none; }

  /* Hero */
  .hero-inner { padding-top: 48px; padding-bottom: 28px; }
  .hero-headline { font-size: clamp(1.9rem, 4vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { min-height: 48px; }
  .btn-lg { min-height: 52px; }

  /* Hero Boxes */
  .hero-box-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 0; }
  .hero-box-wrap { margin-top: 28px; padding-bottom: 56px; }

  /* Praxis */
  .praxis-inner { grid-template-columns: 1fr; gap: 36px; }
  .praxis-section { padding-top: 64px; }

  /* How */
  .how-steps { flex-direction: column; align-items: center; gap: 12px; }
  .how-step-divider {
    width: 60px; height: 2px;
    background: linear-gradient(to right, transparent, rgba(122,197,29,.3), transparent);
    margin: 0;
  }

  /* Zielgruppen */
  .zielgruppen-grid { grid-template-columns: 1fr 1fr; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; }

  /* Angebote */
  .angebote-grid { grid-template-columns: 1fr 1fr; }
  .angebot-card--featured { transform: none; }

  /* Über */
  .ueber-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Tours */
  .tour-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta-box { grid-column: 1 / -1; }
}

/* ============================================================
   SMARTPHONE  (max 640px)
   ============================================================ */
@media (max-width: 640px) {

  .section { padding: 52px 0; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(6,31,20,.96) 0%, rgba(6,31,20,.90) 100%),
      url('Bilder_Esp_Entdecker_Tour/Thomas_Kirche_Wilhelm_Kern_Platz.png') center/cover no-repeat;
  }
  .hero-inner { padding-top: 40px; padding-bottom: 20px; }
  .hero-headline { font-size: 1.85rem; line-height: 1.2; }
  .hero-subline { font-size: .95rem; line-height: 1.65; }
  .hero-benefits { gap: 12px; flex-direction: column; }
  .hero-benefit { font-size: .84rem; }

  /* Hero Boxes */
  .hero-box-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 0; }
  .hero-box-wrap { margin-top: 24px; padding-bottom: 48px; }
  .hero-box { padding: 20px 18px; }
  .hero-box-title { font-size: .98rem; }
  .hero-box-text { font-size: .85rem; }

  /* Section Headlines */
  .section-headline { font-size: 1.55rem; }
  .section-headline.center { font-size: 1.55rem; }

  /* Praxis */
  .praxis-section { padding-top: 52px; }
  .praxis-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .praxis-stat { padding: 12px 8px; }
  .praxis-stat-number { font-size: 1.05rem; }
  .praxis-stat-label { font-size: .68rem; }
  .praxis-text { font-size: .93rem; }

  /* How */
  .how-step { padding: 0 8px; }

  /* Zielgruppen */
  .zielgruppen-grid { grid-template-columns: 1fr; }
  .zielgruppen-card { padding: 22px 18px; }
  .zielgruppen-text { font-size: .86rem; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr; }
  .trust-tile { padding: 22px 18px; }

  /* Angebote */
  .angebote-grid { grid-template-columns: 1fr; }
  .angebot-card { padding: 26px 20px; }
  .angebot-card--featured { transform: none; }

  /* Tours */
  .tour-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* Über */
  .ueber-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 14px 16px; min-height: 50px; }
  .form-group textarea { min-height: auto; }
  .kontakt-submit { width: 100%; justify-content: center; min-height: 54px; font-size: .97rem; }
  .kontakt-intro { font-size: .92rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-cta-box { grid-column: auto; }
}

/* ============================================================
   KLEINES SMARTPHONE  (max 480px)
   ============================================================ */
@media (max-width: 480px) {

  .container { padding: 0 16px; }
  .section { padding: 44px 0; }

  .hero-inner { padding-top: 36px; padding-bottom: 16px; }
  .hero-headline { font-size: 1.65rem; line-height: 1.22; }
  .hero-subline { font-size: .9rem; }
  .hero-eyebrow { font-size: .72rem; letter-spacing: .07em; }
  .hero-eyebrow::before { display: none; }

  .section-headline { font-size: 1.4rem; }
  .section-eyebrow { font-size: .73rem; }

  .btn-lg { font-size: .92rem; padding: 14px 18px; }
  .btn-sm { font-size: .82rem; padding: 9px 14px; }

  .hero-box-wrap { padding-bottom: 40px; }
  .hero-box { padding: 18px 14px; }
  .hero-box-icon { width: 42px; height: 42px; margin-bottom: 12px; }
  .hero-box-title { font-size: .93rem; }
  .hero-box-text { font-size: .82rem; }

  .praxis-stat-number { font-size: .95rem; }
  .praxis-stat-label { font-size: .62rem; }

  .how-step-title { font-size: 1rem; }
  .how-step-text { font-size: .85rem; }

  .zielgruppen-card { padding: 18px 14px; gap: 10px; }
  .zielgruppen-title { font-size: .95rem; }
  .zielgruppen-text { font-size: .83rem; }
  .zielgruppen-icon { width: 46px; height: 46px; }

  .trust-tile { padding: 18px 14px; }
  .trust-title { font-size: .93rem; }
  .trust-text { font-size: .83rem; }
  .trust-icon { width: 42px; height: 42px; margin-bottom: 12px; }

  .angebot-card { padding: 22px 16px; gap: 16px; }
  .angebot-title { font-size: 1.05rem; }
  .angebot-subtitle { font-size: .82rem; }
  .angebot-features li { font-size: .83rem; gap: 8px; }

  .tour-card-body { padding: 20px 18px 24px; }
  .tour-card-title { font-size: 1.1rem; }
  .tour-card-text { font-size: .84rem; }

  .cta-card { padding: 28px 20px; }
  .cta-card-title { font-size: 1.2rem; }
  .cta-card-text { font-size: .9rem; }

  .footer-nav-title { font-size: .72rem; }
  .footer-nav a, .footer-contact a { font-size: .85rem; min-height: 38px; display: flex; align-items: center; }
  .footer-cta-title { font-size: .95rem; }

  .kontakt-intro { font-size: .88rem; }
  .form-group label { font-size: .82rem; }
}

/* ============================================================
   SEHR KLEINES SMARTPHONE  (max 380px, z.B. iPhone SE)
   ============================================================ */
@media (max-width: 380px) {

  .container { padding: 0 14px; }
  .section { padding: 40px 0; }

  :root { --header-h: 62px; }
  .site-header { height: 62px; }
  .logo-main { font-size: 1.15rem; }
  .logo-sub { font-size: .64rem; }

  .hero-inner { padding-top: 30px; padding-bottom: 14px; }
  .hero-headline { font-size: 1.45rem; line-height: 1.25; }
  .hero-subline { font-size: .86rem; }
  .hero-box-wrap { padding-bottom: 32px; }

  .section-headline { font-size: 1.28rem; }

  .btn-lg { font-size: .87rem; padding: 13px 14px; }
  .btn-sm { font-size: .78rem; }

  .praxis-stats { gap: 8px; }
  .praxis-stat { padding: 10px 6px; }
  .praxis-stat-number { font-size: .88rem; }
  .praxis-stat-label { font-size: .58rem; }

  .angebote-grid { gap: 14px; }
  .angebot-card { padding: 20px 14px; }

  .trust-tile, .zielgruppen-card { padding: 16px 12px; }
}
