/* Mobile CSS - Komplett neu geschrieben für screens <= 768px */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Debug Timestamp */
.debug-timestamp {
    position: fixed;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #0f0;
    padding: 5px 10px;
    font-family: monospace;
    font-size: 12px;
    z-index: 9999;
    border-radius: 4px;
}

body {
    font-family: 'Iowan Old Style', 'Apple Garamond', Baskerville, 'Times New Roman', 'Droid Serif', Times, 'Source Serif Pro', serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    font-size: 16px;
}

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

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

/* === LAYOUT === */
.content-wrapper {
    width: 100%;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* === HEADER (behalten wie vorher) === */
header {
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.header-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-title-inner {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.header-profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.header-text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

h1 a {
    color: inherit;
}

.social-links {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    display: block;
    width: 20px;
    height: 20px;
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: #666;
}

.hamburger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger-menu[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    padding: 80px 30px 30px 30px;
    overflow-y: auto;
}

.mobile-menu-content.active {
    display: block;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-menu-nav a {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.mobile-menu-nav a.active {
    color: #666;
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-contact a {
    font-size: 16px;
    color: #666;
}

.mobile-menu-contact span {
    display: none;
}

.header-contact,
.header-line-container {
    display: none;
}

/* === LOADING === */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* === PODCAST INFO SECTION === */
#podcast-info-section {
    margin-bottom: 30px;
}

.podcast-info-wrapper {
    background: #dde9d5;
    padding: 30px 20px;
    margin: 0 0 30px 0;
}

.podcast-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.podcast-info-separator {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    padding: 20px 0;
}

.podcast-info-card {
    background: transparent;
    overflow: hidden;
}

.podcast-info-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.podcast-info-content {
    margin-bottom: 20px;
}

.podcast-info-content img.podcast-info-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    float: left;
    margin: 0 15px 10px 0;
    border-radius: 4px;
}

.podcast-info-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.podcast-info-content a {
    color: #1a1a1a;
    text-decoration: underline;
}

.podcast-info-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.podcast-info-button {
    display: inline-block;
    padding: 12px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    text-align: center;
    transition: background 0.2s;
}

.podcast-info-button:hover {
    background: #f0f0f0;
}

/* === CONTENT LISTE - GANZ EINFACH === */
.content-grid {
    width: 100%;
    padding: 0;
}

.grid-row {
    width: 100%;
}

/* Jedes Element in der Liste */
#hero-section {
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.card {
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

/* === HERO (Aufmacher) === */
.hero {
    width: 100%;
    background: #dde9d5;
    position: relative;
    padding-bottom: 20px;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    margin: -40px 20px 0 20px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-content .meta {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #000;
}

.hero-content .excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 12px;
}

.hero-content .read-link {
    font-size: 14px;
    font-weight: 700;
    color: #ff6600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.hero a:active .read-link {
    transform: translateX(3px);
}

/* === BLOG CARD === */
.card.blog {
    background: #dde9d5;
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.card.blog .card-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.card.blog .card-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    margin: -40px 20px 0 20px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card.blog .card-meta {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.card.blog .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #000;
}

.card.blog .card-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 12px;
}

.card.blog .read-link {
    font-size: 14px;
    font-weight: 700;
    color: #ff6600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.card.blog a:active .read-link {
    transform: translateX(3px);
}

/* Blog Grid Variante */
.card.blog-grid {
    background: #dde9d5;
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.card.blog-grid .blog-image-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card.blog-grid .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card.blog-grid .blog-info {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    margin: -40px 20px 0 20px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card.blog-grid h3 {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.card.blog-grid .blog-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #000;
}

.card.blog-grid .blog-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 12px;
}

.card.blog-grid .read-link {
    font-size: 14px;
    font-weight: 700;
    color: #ff6600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.card.blog-grid a:active .read-link {
    transform: translateX(3px);
}

/* === PODCAST CARD === */
.card.podcast {
    width: 100%;
}

/* === LIVESALON - Featured Large Cards === */
.card.podcast.podcast-livesalon {
    background: #f0dddd;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.card.podcast.podcast-livesalon .livesalon-cover {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 9 / 6;
    object-fit: cover;
}

.card.podcast.podcast-livesalon .livesalon-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin: -40px 20px 0 20px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.card.podcast.podcast-livesalon .card-meta {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.card.podcast.podcast-livesalon .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #000;
}

.card.podcast.podcast-livesalon .podcast-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
}

.card.podcast.podcast-livesalon .card-podcast-meta {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* === COMPACT PODCASTS - Horizontal Layout === */
.card.podcast.podcast-compact {
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
}

.card.podcast.podcast-compact a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card.podcast.podcast-compact .podcast-compact-horizontal {
    background: #ede5d9;
    padding: 18px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.card.podcast.podcast-compact .podcast-cover-compact {
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.card.podcast.podcast-compact .podcast-icon-compact {
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.card.podcast.podcast-compact .podcast-text-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.card.podcast.podcast-compact .card-meta-compact {
    font-size: 11px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.card.podcast.podcast-compact .card-title-compact {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.card.podcast.podcast-compact .card-podcast-meta-compact {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* Clear floats after grid rows */
.grid-row {
    padding: 0;
}

.grid-row::after {
    content: "";
    display: table;
    clear: both;
}

/* Old Modern Layout (deprecated) */
.card.podcast .card-meta {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 8px;
}

.card.podcast .card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #000;
}

.card.podcast .card-podcast-meta {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    font-weight: 500;
}

/* === TV PODCAST CARD === */
.card.tv-podcast {
    background: #d9ebe5;
    width: 100%;
}

.card.tv-podcast .tv-podcast-wrapper {
    padding: 20px;
}

.card.tv-podcast .youtube-thumbnail-link {
    display: block;
    text-decoration: none;
}

.card.tv-podcast .youtube-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 4px;
    cursor: pointer;
}

.card.tv-podcast .youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card.tv-podcast .youtube-container .podcast-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card.tv-podcast .youtube-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 12px;
    transition: background-color 0.2s;
}

.card.tv-podcast .youtube-container:hover .play-button {
    background-color: rgba(255, 0, 0, 1);
}

.card.tv-podcast .youtube-container .play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.card.tv-podcast .podcast-content {
    padding: 0;
}

.card.tv-podcast .card-meta {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 6px;
}

.card.tv-podcast .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #000;
}

.card.tv-podcast .card-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
}

.card.tv-podcast .card-podcast-meta {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

/* === BLUESKY CARD === */
.card.bluesky {
    background: #d9e4f0;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
}

.card.bluesky.own-post {
    background: #c4d6e7;
}

.card.bluesky .bluesky-content {
    padding: 20px;
}

.card.bluesky .bluesky-image {
    width: 75px;
    height: 75px;
    object-fit: cover;
    float: right;
    margin-left: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.card.bluesky .card-meta {
    font-size: 12px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 12px;
}

.card.bluesky .bluesky-author {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
}

.card.bluesky .reshare-icon {
    color: #666;
    margin-right: 5px;
}

.card.bluesky .author-name {
    font-weight: 600;
    margin-right: 5px;
}

.card.bluesky .bluesky-link {
    font-size: 13px;
    color: #666;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-top: 8px;
}

.card.bluesky .bluesky-link a {
    color: #000;
}

.card.bluesky .link-domain {
    color: #999;
    font-size: 12px;
}

/* === BLUESKY GRID === */
.bluesky-grid {
    width: 100%;
}

/* === BOOK CARDS === */
.books-row-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 40px 0;
    background: #dde9d5;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
}

.books-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    padding: 0 20px;
    text-align: left;
}

.books-row-wrapper .grid-row {
    padding: 0 20px;
}

.card.book {
    background: transparent;
    width: 100%;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card.book:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card.book .book-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: auto;
}

.card.book .book-cover {
    width: 33.33%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.card.book .book-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #000;
}

.card.book .book-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.card.book .book-description {
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 15px;
}

/* === IMAGE CARDS === */
.card.image {
    background: #fff;
    padding: 0;
    margin-bottom: 0;
}

.card.image a {
    position: relative;
    display: block;
    width: 100%;
}

.card.image .image-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

.card.image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}

.card.image .image-date {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
    padding: 4px 6px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 3px;
    pointer-events: auto;
}

/* === VIDEO CARDS === */
.card.video {
    background: #fff;
    padding: 0;
    margin-bottom: 0;
}

.card.video .video-container {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #000;
}

.card.video .video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card.video .video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    pointer-events: none;
}

.card.video .video-mute-toggle {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card.video .video-mute-toggle:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.5);
}

.card.video .video-mute-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
}

.card.video .video-timer {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #fff;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 3px;
    pointer-events: none;
}

/* 3-Image Gallery Row - Horizontal Scroll */
.grid-row.image-gallery {
    display: flex;
    margin-bottom: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.grid-row.image-gallery::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Spacer elements for left and right padding */
.grid-row.image-gallery .spacer {
    flex: 0 0 20px;
    min-width: 20px;
    background: transparent;
}

.grid-row.image-gallery .card.image,
.grid-row.image-gallery .card.video {
    margin: 0 20px 0 0;
    padding: 0;
    flex: 0 0 65%;
    min-width: 65%;
    scroll-snap-align: start;
}

.grid-row.image-gallery .card.image .image-photo {
    aspect-ratio: 3 / 4;
}

.grid-row.image-gallery .card.video .video-container {
    aspect-ratio: 3 / 4;
}

/* Stacked images (2 or 3) - hide on mobile */
.card.image.stacked {
    display: none;
}

/* === IMAGE BREAK === */
.image-break {
    width: 100%;
    aspect-ratio: 3 / 5;
    background-image: url('../Stefan_16zu10_3000pxl.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 20px;
}

.image-break-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 13px;
    line-height: 1.6;
}

.image-break-caption a {
    color: white;
    text-decoration: underline;
}

/* === SECOND CONTAINER === */
#second-container {
    padding: 0;
}

/* === UTILITY === */
.hidden {
    display: none !important;
}
