/* ═══════════════════════════════════════════════════════
   AMM Tabs – main.css
   ═══════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────── */
:root {
  --bg:      #0d0d0d;
  --fg:      #ffffff;
  --muted:   #b3b3b3;
  --muted2:  #6a6a6a;
  --green:   #3dba6e;
  --green-d: #2a8a4e;
  --green-glow: rgba(61,186,110,.18);
  --line:    rgba(255,255,255,.10);
  --card:    rgba(255,255,255,.04);
  --radius:  18px;
  --max:     1100px;
  --hh:      60px;   /* header height */
  --bb:      60px;   /* bottom bar height (mobile) */
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ── Layout ──────────────────────────────────────────── */
.am-container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.am-main { overflow: hidden; }

/* ════════════════════════════════════════════════════════
   HEADER  (sticky, immer oben)
   ════════════════════════════════════════════════════════ */
.am-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hh);
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.am-header__inner {
  height: 100%;
  display: flex;
  align-items: stretch;
}

/* Logo */
.am-brand {
  display: flex;
  align-items: center;
  padding: 0 20px 0 0;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.am-brand__link { display: flex; align-items: center; gap: 8px; }
.custom-logo    { max-height: 36px; width: auto; }
.am-brand__text { font-weight: 700; font-size: 15px; }

/* Desktop Nav-Tabs */
.am-nav-tabs {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.am-nav-tabs::-webkit-scrollbar { display: none; }
.am-nav-tab {
  flex-shrink: 0;
  height: 100%;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.am-nav-tab:hover  { color: var(--fg); }
.am-nav-tab.active { color: var(--green); border-bottom-color: var(--green); }

/* CTA rechts */
.am-header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   PANELS
   ════════════════════════════════════════════════════════ */
.am-panel { display: none; }
.am-panel.active {
  display: block;
  animation: fadeUp .28s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   MOBILE BOTTOM BAR
   ════════════════════════════════════════════════════════ */
.am-bottom-bar {
  display: none; /* desktop: versteckt */
}

/* ════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════ */
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  transition: opacity .15s, transform .15s;
  white-space: nowrap;
  text-decoration: none;
}
.am-btn:hover { opacity: .88; transform: translateY(-1px); }
.am-btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: rgba(255,255,255,.35);
}
.am-btn--ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.am-btn--green { background: var(--green); border-color: var(--green); color: #fff; }
.am-btn--green:hover { background: var(--green-d); border-color: var(--green-d); }
.am-btn--wide { width: 100%; }

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.am-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.am-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 80% 30%, var(--green-glow), transparent 60%),
    radial-gradient(600px 300px at 10% 80%, rgba(61,186,110,.07), transparent 55%);
}
.am-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.am-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.am-hero__title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.am-hero__title em { font-style: normal; color: var(--green); }
.am-hero__sub { color: var(--muted); font-size: 16px; max-width: 50ch; margin-bottom: 28px; }
.am-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.am-hero__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.am-hero__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.88) contrast(1.08) saturate(1.1);
  transition: transform .5s ease;
}
.am-hero__media:hover .am-hero__img { transform: scale(1.03); }
.am-hero__overlay {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.10);
}
.am-hero__overlay-tag {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.am-hero__overlay-items { display: flex; flex-wrap: wrap; gap: 7px; }
.am-hero__overlay-items span {
  font-size: 12px; padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

/* ════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════ */
.am-section { padding: 52px 0; }
.am-section--alt {
  background: rgba(255,255,255,.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.am-section__head { margin-bottom: 28px; }
.am-h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.am-h2 em { font-style: normal; color: var(--green); }
.am-lead { color: var(--muted); max-width: 60ch; font-size: 15px; }

/* ════════════════════════════════════════════════════════
   SERVICE GRID
   ════════════════════════════════════════════════════════ */
.am-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.am-service {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.am-service::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0; transition: opacity .2s;
}
.am-service:hover { transform: translateY(-3px); border-color: rgba(61,186,110,.25); }
.am-service:hover::before { opacity: 1; }
.am-service__icon { font-size: 24px; margin-bottom: 12px; }
.am-service h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.am-service p  { font-size: 14px; color: var(--muted); }

/* ════════════════════════════════════════════════════════
   KATEGORIE-TABS + PREISKARTEN
   ════════════════════════════════════════════════════════ */
.am-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.am-cat-tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s;
}
.am-cat-tab:hover { color: var(--fg); border-color: rgba(255,255,255,.25); }
.am-cat-tab.active {
  background: rgba(61,186,110,.12);
  border-color: rgba(61,186,110,.4);
  color: var(--green);
}
.am-cat-panel { display: none; animation: fadeUp .22s ease both; }
.am-cat-panel.active { display: block; }
.am-cat-desc { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.am-cat-note {
  margin-top: 14px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); font-size: 13px; color: var(--muted2);
}
.am-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 12px;
}
.am-price-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.am-price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0; transition: opacity .2s;
}
.am-price-card:hover { border-color: rgba(61,186,110,.3); transform: translateY(-2px); }
.am-price-card:hover::before { opacity: 1; }
.am-price-card__name  { font-size: 14px; font-weight: 700; }
.am-price-card__sub   { font-size: 12px; color: var(--muted2); line-height: 1.4; }
.am-price-card__price { font-size: 20px; font-weight: 800; color: var(--green); margin-top: auto; padding-top: 8px; }

/* ════════════════════════════════════════════════════════
   STEPS
   ════════════════════════════════════════════════════════ */
.am-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.am-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.am-step__kicker {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: rgba(61,186,110,.12);
  border: 1px solid rgba(61,186,110,.3);
  color: var(--green);
  margin-bottom: 14px;
}
.am-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.am-step p  { font-size: 14px; color: var(--muted); }

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.am-testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.am-quote {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.am-quote blockquote {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
  border-left: 2px solid var(--green);
  padding-left: 14px;
}
.am-quote figcaption { font-size: 13px; color: var(--muted2); }

/* ════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════ */
.am-faq { display: grid; gap: 10px; max-width: 760px; }
.am-faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  transition: border-color .2s;
}
.am-faq__item[open] { border-color: rgba(61,186,110,.3); }
.am-faq__item summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px;
  font-weight: 600; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.am-faq__item summary::-webkit-details-marker { display: none; }
.am-faq__item summary::after { content: "+"; font-size: 18px; color: var(--green); transition: transform .2s; }
.am-faq__item[open] summary::after { transform: rotate(45deg); }
.am-faq__item p { padding: 0 20px 16px; font-size: 14px; color: var(--muted); }

/* ════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════ */
.am-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.am-contact__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.am-contact__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.am-contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.am-checklist { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.am-checklist li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); }
.am-checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

/* ════════════════════════════════════════════════════════
   BULLETS
   ════════════════════════════════════════════════════════ */
.am-bullets { list-style: none; display: grid; gap: 10px; }
.am-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  color: var(--muted); font-size: 14px;
}
.am-bullets li::before {
  content: ""; width: 8px; height: 8px; flex-shrink: 0;
  border-radius: 50%; background: var(--green); margin-top: 6px;
}

/* ════════════════════════════════════════════════════════
   PORTFOLIO COMING SOON
   ════════════════════════════════════════════════════════ */
.am-portfolio-coming { display: flex; justify-content: center; padding: 40px 0; }
.am-coming-card {
  max-width: 520px; width: 100%;
  text-align: center;
  padding: 48px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}
.am-coming-card__icon { font-size: 48px; margin-bottom: 20px; }
.am-coming-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.am-coming-card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 28px; }
.am-coming-card__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════
   CONTENT (Impressum etc.)
   ════════════════════════════════════════════════════════ */
.am-content { max-width: 760px; padding: 52px 0; }
.am-content h1 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; margin-bottom: 14px; }
.am-content h2 { font-size: 20px; font-weight: 700; margin: 26px 0 10px; }
.am-content p  { color: var(--muted); margin-bottom: 12px; }
.am-content a  { text-decoration: underline; text-underline-offset: 3px; color: var(--green); }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.am-footer { border-top: 1px solid var(--line); padding: 36px 0 20px; }
.am-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.am-footer__brand { font-weight: 750; font-size: 15px; margin-bottom: 6px; }
.am-footer__muted { color: var(--muted); font-size: 13px; }
.am-footer__title { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); margin-bottom: 12px; }
.am-footer__list { list-style: none; display: grid; gap: 8px; }
.am-footer__list a { font-size: 13px; color: var(--muted); transition: color .15s; }
.am-footer__list a:hover { color: var(--fg); }
.am-footer__bottom { padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted2); }

/* ════════════════════════════════════════════════════════
   REVEAL
   ════════════════════════════════════════════════════════ */
.am-reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.am-reveal.in { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE – DESKTOP (> 860px)
   ════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  .am-bottom-bar { display: none !important; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (≤ 860px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* Kein extra Padding oben nötig - Header ist nur Logo */
  body { padding-bottom: var(--bb); }

  /* Desktop Nav + CTA im Header verstecken */
  .am-nav-tabs      { display: none !important; }
  .am-header__cta   { display: none !important; }
  .am-brand { border-right: none; }

  /* Hero: einspaltig */
  .am-hero__inner { grid-template-columns: 1fr; }
  .am-hero { padding: 40px 0 36px; }
  .am-hero__media { min-height: 260px; }

  /* Grids: 2 spaltig */
  .am-grid { grid-template-columns: 1fr 1fr; }
  .am-steps { grid-template-columns: 1fr 1fr; }
  .am-testimonials { grid-template-columns: 1fr; }
  .am-contact { grid-template-columns: 1fr; }
  .am-footer__grid { grid-template-columns: 1fr; }

  /* ── BOTTOM BAR ── */
  .am-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    height: var(--bb);
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
  }
  .am-btab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 9px;
    font-weight: 600;
    color: var(--muted2);
    cursor: pointer;
    border-top: 2px solid transparent;
    transition: color .15s, border-color .15s;
    padding: 0 2px;
    line-height: 1.2;
  }
  .am-btab__icon { font-size: 19px; line-height: 1; }
  .am-btab.active { color: var(--green); border-top-color: var(--green); }
}

@media (max-width: 480px) {
  .am-grid  { grid-template-columns: 1fr; }
  .am-steps { grid-template-columns: 1fr; }
  .am-price-grid { grid-template-columns: 1fr 1fr; }
  .am-coming-card { padding: 32px 20px; }
  .am-hero__title { font-size: 30px; }
}
