/* Promptwerkstatt - Base Styles */
/* Variables, Resets, Typography, Base Elements */

/* Webfont-Deklarationen */
@font-face {
	font-family: 'Source Serif Pro';
	src: url('../webfonts/SourceSerifPro-Semibold.woff2') format('woff2'),
		url('../webfonts/SourceSerifPro-Semibold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Source Serif Pro';
	src: url('../webfonts/SourceSerifPro-Light.woff2') format('woff2'),
		url('../webfonts/SourceSerifPro-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Source Serif Pro';
	src: url('../webfonts/SourceSerifPro-Bold.woff2') format('woff2'),
		url('../webfonts/SourceSerifPro-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Source Serif Pro';
	src: url('../webfonts/SourceSerifPro-Regular.woff2') format('woff2'),
		url('../webfonts/SourceSerifPro-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* CSS Variables */
:root {
	--primary: #209FE3;
	--primary-dark: #1B7FB8;
	--primary-light: #4AB3E8;
	--accent: #B0BE13;
	--accent-dark: #9AA311;
	--neutral-bg: #F8FAFC;
	--text-primary: #1E293B;
	--text-secondary: #209FE3;

	--font-heading: 'Source Serif Pro', serif;
	--font-body: 'Inter', sans-serif;
}

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

body {
	font-family: var(--font-body);
	color: var(--text-primary);
	line-height: 1.6;
	font-size: 1.125rem;
	background: linear-gradient(135deg,
		#ffffff 0%,
		#f8fafc 25%,
		#f1f5f9 50%,
		#f8fafc 75%,
		#ffffff 100%);
	position: relative;
	min-height: 100vh;
}

/* Global background pattern */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		/* Large circles */
		radial-gradient(circle at 85% 20%, rgba(32, 159, 227, 0.28) 0%, transparent 50%),
		radial-gradient(circle at 15% 80%, rgba(176, 190, 19, 0.15) 0%, transparent 50%),
		/* Medium shapes */
		radial-gradient(ellipse 300px 200px at 70% 60%, rgba(32, 159, 227, 0.18) 0%, transparent 70%),
		radial-gradient(ellipse 200px 300px at 30% 40%, rgba(176, 190, 19, 0.10) 0%, transparent 70%),
		/* Small accent dots */
		radial-gradient(circle at 25% 25%, rgba(32, 159, 227, 0.35) 0%, transparent 15%),
		radial-gradient(circle at 75% 75%, rgba(176, 190, 19, 0.20) 0%, transparent 15%);
	z-index: -2;
}

/* Global grid pattern overlay */
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		linear-gradient(rgba(32, 159, 227, 0.15) 1px, transparent 1px),
		linear-gradient(90deg, rgba(32, 159, 227, 0.15) 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: 0 0, 0 0;
	z-index: -1;
}

/* Typography Hierarchy */
h1 {
	font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h2 {
	font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
	margin-bottom: 1rem;
}

h3, h4, h5, h6 {
	font-family: var(--font-body);
}

h3 {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 0.75rem;
    font-style: italic;
}

h4 {
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.5rem;
}

h5 {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.5rem;
}

h6 {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.5rem;
}

.container {
	max-width: 980px;
}

/* Unified Section Headings */
section h1 {
	text-align: center;
    font-size: 2.5rem;
	margin-bottom: .5rem;
	color: var(--text-primary);
}

section .teaser {
	text-align: center;
	font-size: 1.125rem;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

/* Section Defaults */
section {
	padding: 3rem 0;
}

article .container{
    background: rgba(255, 255, 255, 0.95);
    padding: 1.875rem;
    border-radius: 16px;
    border: 1px solid rgba(32, 159, 227, 0.2);
    box-shadow: 0 4px 12px rgba(32, 159, 227, 0.1);
}

/* Utility Classes */
.subtitle {
	color: var(--text-secondary);
	font-style: italic;
	font-size: 1rem;
}

.a {
    font-style: italic;
    display: none;
}
.b {
    font-style: normal;
    display: none;
}
@media (min-width: 128px) {
    article .a, section .a {
        font-style: italic;
        color: rgba(255, 255, 255, 0.05);
        position: absolute;
        display: inline;
        clip: rect(1px, 1px, 1px, 1px);
        height: 1px;
        width: 1px;
        overflow: hidden;
    }
    article .b, section .b {
        font-style: normal;
        display: inline;
    }
}

/* Unified Section Headings */

.error-page {
    margin: 2rem auto 4rem auto;
}
.error-page .container-body {
    text-align: center;
}
.error-page .container-body img {
    height: 25rem;
    margin-bottom: 2rem;
    filter: grayscale(100%);
}
.error-page .container-body h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.error-page .container-body a {
    text-decoration: none;
    color: var(--text-secondary);
}
.error-page .container-body a:hover {
    text-decoration: underline;
}

/* =========================================
   CORE LAYOUT SYSTEM
========================================= */

/* Card System */
.pw-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    font-size: .95rem;
}
/* Generalized card-title with modifiers */
.card-title {
    font-weight: 600;
    margin-bottom: .75rem;
    text-align: center;
    font-size: 1.1rem; /* Default: size-md */
    color: var(--text-primary);
}

/* Size modifiers */
.card-title.size-sm { font-size: 1rem; }
.card-title.size-md { font-size: 1.25rem; }
.card-title.size-lg { font-size: 1.5rem; }
.card-title.size-xl { font-size: 2rem; }

/* Color modifiers */
.card-title.color-white { color: white; }
.card-title.color-primary { color: var(--primary); }
.card-title.color-primary-dark { color: var(--primary-dark); }

/* Alignment modifiers */
.card-title.align-left { text-align: left; }
.pw-card .card-subtitle {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-bottom: 1rem;
}
.card-bottomline {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: auto;
    text-align: center;
}

.pw-card.card-compact { padding: 1.25rem; }
.pw-card.card-rounded { border-radius: 12px; padding: 1.25rem; }
.pw-card.card-large { padding: 2rem; }

/* Generalized strong styling within cards */
.pw-card strong {
	color: var(--primary);
}

/* Icon Circles */
/* Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle i {
    color: white;
    font-size: 2rem;
}

.icon-circle.icon-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.icon-circle.icon-sm {
    width: 60px;
    height: 60px;
}

.icon-circle.icon-sm i {
    font-size: 1.5rem;
}

.icon-circle.icon-md {
    width: 70px;
    height: 70px;
}

.icon-circle.icon-md i {
    font-size: 1.75rem;
}

/* Section Dividers */
.section-divider {
	text-align: center;
	margin: 2rem 0;
}

.section-divider i {
	color: var(--primary);
	font-size: 1.5rem;
	margin: 0 0.5rem;
	opacity: 0.6;
	transition: all 0.3s ease;
}

.section-divider:hover i {
	opacity: 1;
	transform: scale(1.1);
}

.section-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 0 0;
    gap: 1rem;
}
.section-cta .lead {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}
.section-cta a {
    color: var(--primary);
    border-color: var(--primary);
}
.section-cta a:hover, .section-cta a:focus {
    color: #FFFFFF;
    background: var(--primary);
    border-color: #FFFFFF;
}

/* =========================================
   NAVIGATION & FOOTER
========================================= */

/* Promptwerkstatt - Navigation Styles */
/* Navbar, Footer, Content Navigation */

/* Bootstrap Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: transparent;
	padding: 0.9375rem 0;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background: rgba(255, 255, 255, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	padding: 0.625rem 0;
}

.navbar .container {
	max-width: 1000px;
	background: rgba(255, 255, 255, .75);
	border-radius: 50px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 0.5rem 1.25rem;
	display: flex;
    flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: relative;
	transition: box-shadow 0.3s ease;
	backdrop-filter: blur(10px);
}

.navbar.scrolled .container {
	box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.navbar-brand img {
	height: 2.5rem;
    padding: 0 0 0 .5rem;
}
.navbar-nav {
	display: flex;
	gap: .25rem;
	position: relative;
	border-radius: 30px;
	padding: 0.25rem;
	list-style: none;
	margin: 0;
	--pill-left: 0px;
	--pill-width: 0px;
	--pill-opacity: 0;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row !important;
}
.nav-item {
	position: relative;
}

.navbar-nav::before {
	content: '';
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: var(--pill-left);
	width: var(--pill-width);
	background: var(--primary);
	border-radius: 25px;
	transition: all 0.3s ease;
	z-index: 0;
	opacity: var(--pill-opacity);
}

.nav-link {
	color: rgba(30, 41, 59, 0.7);
	text-decoration: none;
	padding: 0.375rem 0.9375rem !important;
	border-radius: 25px;
	transition: all 0.3s ease;
	font-size: 0.85rem;
	position: relative;
	z-index: 1;
}

.navbar-nav .nav-link.active {
	color: white;
}

.navbar-nav .nav-link.active.pill-moved {
	color: rgba(30, 41, 59, 0.5);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active:hover {
	color: white;
}

.navbar-hovered .navbar-nav .nav-link:not(:hover):not(.active) {
	color: rgba(30, 41, 59, 0.7);
}

/* Three-Column Footer */
.footer {
	background: rgba(255, 255, 255, 0.75);
	padding: 2rem 0;
	margin-top: 4rem;
	color: var(--text-primary);
	border-top: 1px solid rgba(32, 159, 227, 0.2);
    box-shadow: 0 -.5rem 1rem rgba(32, 159, 227, 0.1);
}
.footer .row {
	align-items: flex-start;
}
.footer-logo {
	margin-bottom: .75rem;
}
.footer-logo img {
	height: 2.5rem;
}
.footer-title {
    color: var(--primary-dark);
    text-transform: uppercase;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: 1.65rem;
}
.footer-tagline {
	color: #6b7280;
	font-size: 0.85rem;
	font-style: italic;
	margin-bottom: 20px;
}

.footer-about {
	color: #6b7280;
	font-size: 0.85rem;
	line-height: 1.6;
}

.footer-links {
	margin-top: 20px;
}

.footer-link {
	color: #6b7280;
	text-decoration: none;
	font-size: 0.85rem;
}

.footer-link:hover {
	color: var(--primary);
	text-decoration: none;
}

.footer-info-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-info-links li {
	position: relative;
	margin-bottom: .25rem;
}

.footer-info-links .footer-link {
	color: #6b7280;
	text-decoration: none;
	font-size: 0.85rem;
	display: block;
	transition: color 0.3s ease;
}

.footer-info-links .footer-link:hover {
	color: var(--primary);
}

.footer-partners a {
    display: block;
}
.footer-partners img {
    max-width: 75%;
    max-height: 2.5rem;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
.footer-partners img:hover {
    filter: none;
}
.footer-bottom {
	border-top: 1px solid rgba(32, 159, 227, 0.15);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	text-align: center;
	font-size: 0.85rem;
	color: #6b7280;
}

/* Content Navigation (for page.php) */
.content-nav {
	padding: 6rem 0 1rem;
	text-align: center;
}

.content-nav .nav-pills {
	background: white;
	border-radius: 50px;
	padding: .5rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	gap: 5px;
	flex-wrap: wrap;
	display: inline-flex;
}

.content-nav .nav-link {
	border-radius: 2rem;
	padding: .25rem .75rem;
	color: var(--text-primary);
	font-size: 0.85rem;
	font-weight: 400;
	transition: all 0.3s ease;
	background: transparent;
	border: none;
}

.content-nav .nav-link:hover {
	background: var(--accent);
	color: white;
}

.content-nav .nav-link.active {
	background: var(--accent-dark);
	color: white;
}

/* Tablet Navigation - reduziertes Padding */
@media (max-width: 991px) {
    .nav-link {
        padding: 0.375rem 0.75rem !important;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar, .navbar.scrolled {
        padding: 0 !important;
        background: transparent;
        backdrop-filter: none;
        border: none;
    }
    .navbar .container {
        padding: 0.5rem .5rem;
        border-radius: 0;
    }
    .navbar-nav  {
        gap: .05rem
    }
    .navbar-nav .nav-link {
        font-size: 0;
        padding: .3rem .5rem;
    }

    .navbar-nav .nav-link::before {
        font-family: "Font Awesome 7 Pro";
        font-weight: 500;
        font-size: 1.1rem;
        color: rgba(30, 41, 59, 0.7);
        transition: color 0.3s ease;
    }

    .nav-link[data-section="hero"]::before { content: "\f015"; }
    .nav-link[data-section="benefits"]::before { content: "\f005"; }
    .nav-link[data-section="target-groups"]::before { content: "\f0c0"; }
    .nav-link[data-section="process"]::before { content: "\f0e8"; }
    .nav-link[data-section="learning-paths"]::before { content: "\f19d"; }
    .nav-link[data-section="faq"]::before { content: "\f059"; }
    .nav-link[data-section="contact"]::before { content: "\f0e0"; }

	/* Icon-Farben für Pill-Animation */
	.navbar-nav .nav-link.active::before {
		color: white;
	}

	.navbar-nav .nav-link.active.pill-moved::before {
		color: rgba(30, 41, 59, 0.7);
	}

	/* Logo clipping - nur Icon sichtbar, Schriftzug abgeschnitten */
	.navbar-brand img {
		padding-left: .75rem;
		width: 50px;
		height: 2.5rem;
		object-fit: cover;
		object-position: left center;
	}

	.footer {
		padding: 3rem 0 1.5rem;
	}

	.footer-about,
	.footer-info-links,
	.footer-partners {
		padding: 0;
		margin-bottom: 2rem;
	}

    /*.main-nav .navbar-nav {*/
    /*    display: none;*/
    /*}*/

	.content-nav {
		padding: 4rem 0 1rem;
	}

	.content-nav .nav-pills {
		border-radius: 2rem;
		padding: .5rem;
		flex-direction: row;
		gap: .5rem;
	}

	.content-nav .nav-link {
        border-radius: 2rem;
		padding: .25rem .5rem;
		font-size: 0.85rem;
		text-align: center;
	}
}

/* =========================================
   BUTTONS & UTILITIES
========================================= */

/* Buttons */
.btn-accent {
	background: var(--accent);
	border: 1px solid var(--accent);
	color: white;
    font-size: 1rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
}

.btn-accent:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(176, 190, 19, 0.3);
}