/* Zweck: globale Content-Basis und geteilte Inhaltskomponenten | Schicht: Content | Ladende Seiten: alle Shell-Seiten */
a{color:var(--book-accent,#008c8c);text-decoration-thickness:.08em;text-underline-offset:.16em}
img,iframe,video{height:auto;max-width:100%;vertical-align:top}
.content{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow:visible}

/* A1-Eigentuemer fuer booking-page* und legal-page*. */
.booking-page__button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border:0;border-radius:8px;background:var(--accent2);color:#fff;font-weight:850;text-decoration:none}
.booking-page__cta{margin:20px 0}
.booking-page__button:hover,.booking-page__button:focus{background:#bf4a21;color:#fff}
.legal-page .content__entry{font-size:calc(1rem - 4px)}

/* Sichtbar fuer Suchmaschinen und Assistenztechnik, visuell ausgeblendet. */
.entry-byline--seo-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Geteilter Buttonvertrag (Startseite und Forum-Weiterleitung). */
.home-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.75rem 1.35rem;border-radius:999px;font-size:.85rem;font-weight:850;line-height:1;text-decoration:none}
.home-button--primary{background:linear-gradient(135deg,#e66f35,#c24c24);color:#fff;box-shadow:0 12px 24px rgba(209,87,38,.24)}
.home-button--secondary{border:1px solid #123c41;background:transparent;color:#173f42}
.home-button:hover,.home-button:focus{transform:translateY(-1px)}

/* Generische Render-Huelle. */
.entry-trust{margin:.45rem 0 0}
.entry-byline{margin:.2rem 0 0;color:var(--book-muted);font-family:var(--book-sans);font-size:.95rem;line-height:1.45}
.entry-byline a{color:inherit;font-weight:750}
.entry-notice{margin:.65rem 0 0;padding:.65rem .75rem;border:1px solid rgba(232,93,47,.28);border-radius:8px;background:rgba(255,248,229,.78);color:var(--book-muted);font-family:var(--book-sans);font-size:.92rem;line-height:1.45}
.entry-notice strong{color:var(--book-ink)}
.entry-wrapper{padding:1.75rem 2.05rem 2.35rem}
.align-center{display:block;margin-right:auto;margin-left:auto;text-align:center}

/* Basis-Typografie. */
.content__entry{color:var(--book-ink);font-family:var(--book-sans);font-size:1.125rem;line-height:1.62}
.content__entry>:first-child{margin-top:0}
.content__entry>:last-child{margin-bottom:0}
.content__entry p,.content__entry li,.content__entry dd,.content__entry td{hyphens:auto}
.content__entry p,.content__entry ul,.content__entry ol,.content__entry dl,.content__entry blockquote,.content__entry table,.content__entry figure{margin:.86rem 0}
.content__entry h2{margin:1rem 0 .6rem;color:var(--book-ink);font-family:var(--book-serif);font-size:1.32rem;line-height:1.22}
.content__entry h3{margin:1.15rem 0 .45rem;color:var(--book-ink);font-family:var(--book-serif);font-size:1.06rem;line-height:1.25}
.content__entry h4,.content__entry h5,.content__entry h6{margin:1rem 0 .35rem;font-family:var(--book-serif);font-size:.96rem;line-height:1.25}
.content__entry blockquote{padding:.15rem 0 .15rem 1rem;border-left:3px solid var(--book-accent,#008c8c);color:var(--book-muted)}
.content__entry table{width:100%;border-collapse:collapse;font-family:var(--book-sans);font-size:.86rem}
.content__entry th,.content__entry td{padding:.5rem .55rem;border:1px solid var(--book-line);vertical-align:top}
.content__entry th{background:rgba(255,248,229,.92);text-align:left}
.content__entry figcaption{margin-top:.4rem;color:var(--book-muted);font-family:var(--book-sans);font-size:.74rem;line-height:1.35}

/* Medienkarten und freie Content-Bausteine. */
.content__entry figure:not(.video-card):not(:where([class*="visa-layout-"])){max-width:100%;margin:1rem 0}
.content__entry figure:not(.video-card):not(:where([class*="visa-layout-"])) img{display:block;width:auto;max-width:100%;height:auto}
.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,var(--pdf-media-card-width)));gap:.65rem;align-items:start;justify-content:start;margin-left:0}
.video-card{display:inline-block;box-sizing:border-box;width:min(100%,var(--pdf-media-card-width));max-width:var(--pdf-media-card-width);margin:.55rem .6rem .55rem 0;border:1px solid var(--book-line);border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 10px 22px rgba(0,70,88,.1);overflow:hidden;vertical-align:top}
.video-grid .video-card{width:100%;max-width:var(--pdf-media-card-width);margin:0}
.video-card a{display:block;color:inherit;text-decoration:none}
.video-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.video-card figcaption{padding:.55rem .65rem;font-family:var(--book-sans);font-size:.76rem;font-weight:700;line-height:1.35}
.source-link{font-family:var(--book-sans);font-size:.86rem}

/* Geteilte Start-/Support-Komponenten. */
.home-redesign{display:block;overflow:hidden;border:0;border-radius:0;background:transparent;color:var(--amg-ink);box-shadow:none;font-family:var(--book-sans)}
.home-area-card{min-height:220px;padding:2rem;border:1px solid var(--amg-line);border-radius:8px;background:var(--amg-paper);box-shadow:var(--amg-shadow)}
.home-area-card--wide{min-height:240px}
.home-area-card--community{min-height:220px}
.home-area-card h3{margin:0 0 .85rem;color:var(--amg-ink);font-family:var(--book-sans);font-size:1.35rem;font-weight:850;letter-spacing:0;line-height:1.22}
.home-area-card p{margin:0;color:#506867;font-size:.96rem;line-height:1.62}
.home-area-card>a:not(.home-pill){display:inline-flex;margin-top:1.8rem;color:#173f42;font-size:.82rem;font-weight:850;text-decoration:none}
.home-area-card>a:not(.home-pill)::after{content:" ->"}
.home-area-card--intro{margin-bottom:18px}
.home-choices-title{margin:0 0 18px;color:var(--amg-ink);font-size:1.6rem;text-align:center}

/* Globaler Dark-Content-Vertrag. */
html[data-theme="dark"] .site-content-frame,html[data-theme="dark"] .content,html[data-theme="dark"] .entry-wrapper{border-color:rgba(206,235,232,.18);background-color:rgba(18,39,42,.96);color:var(--amg-ink)}
html[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,strong){color:var(--amg-ink)}
html[data-theme="dark"] img,html[data-theme="dark"] iframe{color-scheme:light}
html[data-theme="dark"] .pager a,html[data-theme="dark"] .entry-notice,html[data-theme="dark"] .video-card,html[data-theme="dark"] .content__entry th{border-color:var(--amg-line);background:var(--amg-paper);color:var(--amg-ink)}
html[data-theme="dark"] .home-button--secondary{border-color:var(--amg-ink);color:#fff}
html[data-theme="dark"] a:link,html[data-theme="dark"] a:visited,html[data-theme="dark"] a:hover,html[data-theme="dark"] a:focus-visible{color:#fff}

@media(max-width:960px){.video-grid{grid-template-columns:1fr}}
@media(max-width:760px){.home-area-card,.home-area-card--wide,.home-area-card--community{min-height:0;padding:1.45rem}}
@media(max-width:620px){
  .entry-wrapper{padding-right:1rem;padding-left:1rem}
}
