/* ===========================
   BROGNO GROUP - Style Sheet
   =========================== */

/* --- Font Faces --- */
@font-face {
    font-family: 'DTL Nobel';
    src: url('../assets/fonts/dtlnobelt-light-webfont.woff2') format('woff2'),
         url('../assets/fonts/dtlnobelt-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DTL Nobel';
    src: url('../assets/fonts/dtlnobelt-webfont.woff2') format('woff2'),
         url('../assets/fonts/dtlnobelt-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DTL Nobel';
    src: url('../assets/fonts/dtlnobelt-bold-webfont.woff2') format('woff2'),
         url('../assets/fonts/dtlnobelt-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
    --gold: #daa360;
    --gold-dark: #b38850;
    --text-dark: #404041;
    --gray-light: #A9A9A9;
    --gray-dark: #818285;
    --white: #ffffff;
    --max-width: 1400px;
    --header-height: 80px;
    --font-family: 'DTL Nobel', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-dark);
}

ul {
    list-style: none;
}

h1 {
    font-weight: 400;
    line-height: 1.1;
    font-size: 3.55em;
    color: var(--gold);
}

h2 {
    font-weight: 400;
    line-height: 1.1;
    font-size: 2.22em;
    color: var(--text-dark);
}

h3 {
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.8rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* --- Container --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    height: var(--header-height);
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: auto;
}

.logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo .logo-color {
    display: none;
}

.site-header.scrolled .logo .logo-gray {
    display: none;
}

.site-header.scrolled .logo .logo-color {
    display: block;
}

/* On pages without hero (white bg from start), show color logo by default */
.site-header.always-scrolled .logo .logo-gray {
    display: none;
}

.site-header.always-scrolled .logo .logo-color {
    display: block;
}

.site-header.always-scrolled {
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Navigation (horizontal in Header, Slide von rechts) --- */
.main-nav {
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 0;
    transition: max-width 0.4s ease;
    margin-right: 10px;
    order: 2;
}

.main-nav.open {
    max-width: 800px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    white-space: nowrap;
}

.main-nav a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a.active {
    color: var(--gold);
}

/* --- Hamburger Menu (immer sichtbar, links) --- */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    order: 3;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.site-header.scrolled .hamburger span,
.site-header.always-scrolled .hamburger span {
    background-color: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

/* --- Nav Overlay --- */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero--small {
    height: 60vh;
    min-height: 400px;
}

.hero--medium {
    height: 70vh;
    min-height: 450px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero-content h1 {
    color: var(--white);
    font-weight: 300;
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-content .tagline {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--gold);
    margin-top: 1rem;
}

.hero-content .hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* --- Gold line decoration --- */
.gold-line {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 1.5rem auto;
}

.gold-line--left {
    margin-left: 0;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section--gray {
    background-color: #f5f5f5;
}

.section--dark {
    background-color: var(--text-dark);
    color: var(--white);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* --- Startseite: Außen gut. Innen auch. --- */
.start-aussen {
    position: relative;
    min-height: 500px;
    margin-top: 70px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
    overflow: hidden;
}

.start-aussen__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.start-aussen__content {
    position: relative;
    display: flex;
    min-height: 500px;
    z-index: 1;
}

.start-aussen__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.start-aussen__col img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.start-aussen__placeholder {
    opacity: 0;
}

.start-aussen__col h2 {
    color: var(--white);
    text-align: center;
}

/* --- Startseite: Unsere Geschichte --- */
.start-geschichte {
    display: flex;
    min-height: 500px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
}

.start-geschichte__slideshow {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.start-geschichte__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.start-geschichte__slide.active {
    opacity: 1;
}

.start-geschichte__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 46px;
    border: none;
    background: rgba(0,0,0,0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.start-geschichte__nav:hover {
    background: rgba(0,0,0,0.6);
}

.start-geschichte__nav--prev {
    left: 0;
}

.start-geschichte__nav--next {
    right: 0;
}

.start-geschichte__text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 50px;
    color: var(--white);
}

.start-geschichte__text-inner {
    max-width: 500px;
    margin-left: 100px;
}

.start-geschichte__text-inner h1 {
    color: var(--gold);
    margin-bottom: 25px;
}

.start-geschichte__text-inner p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 15px;
}

/* --- Startseite: Das Tagesgeschäft --- */
.start-tagesgeschaeft {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--text-dark);
    padding: 80px 20px;
    color: var(--white);
}

.start-tagesgeschaeft__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.start-tagesgeschaeft__inner img {
    display: block;
    max-width: 424px;
    width: 100%;
    height: auto;
    margin: 0 auto 50px;
}

.start-tagesgeschaeft__inner h1 {
    color: var(--gold);
    margin-bottom: 25px;
}

.start-tagesgeschaeft__inner p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col--reverse {
    direction: rtl;
}

.two-col--reverse > * {
    direction: ltr;
}

.two-col__image img {
    width: 100%;
    border-radius: 2px;
}

.two-col__text h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.two-col__text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* --- Team Grid --- */
/* --- Profil: Über uns Split mit Slideshow --- */
.profil-hero {
    display: flex;
    min-height: 500px;
    margin-top: 70px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
}

.profil-hero__slideshow {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.profil-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.profil-hero__slide.active {
    opacity: 1;
}

.profil-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 46px;
    border: none;
    background: rgba(0,0,0,0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profil-hero__nav:hover {
    background: rgba(0,0,0,0.6);
}

.profil-hero__nav--prev {
    left: 0;
}

.profil-hero__nav--next {
    right: 0;
}

.profil-hero__text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 50px;
    color: var(--white);
}

.profil-hero__text-inner {
    max-width: 500px;
    margin-left: 100px;
}

.profil-hero__text-inner h1 {
    color: var(--gold);
    margin-bottom: 25px;
}

.profil-hero__text-inner p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

/* --- Profil: Team Grid (Original-Style) --- */
.profil-team-title {
    color: var(--gold);
    margin-bottom: 40px;
}

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

.member {
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
}

.member:hover {
    box-shadow: 0 2px 8px rgba(218,163,96,0.75);
}

.member__name {
    display: block;
    padding: 30px 30px 0;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.member__position {
    display: block;
    padding: 0 30px 30px;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #818285;
    transition: color 0.3s ease;
}

.member:hover .member__position {
    color: var(--gold);
}

.member img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.member:hover img {
    filter: none;
}

/* --- Product Grid --- */
/* --- Produktwelt: Dunkler Hintergrund + horizontaler Scroll --- */
.produktwelt {
    background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
    padding: calc(var(--header-height) + 60px) 0 60px;
    color: var(--white);
}

.produktwelt__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.produktwelt__header h1 {
    color: var(--gold);
    margin-bottom: 20px;
}

.produktwelt__header p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.produktwelt__carousel {
    overflow: hidden;
    position: relative;
}

.produktwelt__track {
    display: flex;
    transition: transform 0.5s ease;
    align-items: flex-end;
}

.produktwelt__card {
    flex: 0 0 auto;
    width: 260px;
    margin: 0 25px;
    text-align: left;
    background-color: var(--gold);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0.25;
    transition: all 0.5s ease;
    cursor: pointer;
}

.produktwelt__card.active {
    opacity: 1;
}

.produktwelt__name {
    display: block;
    padding: 20px 20px 0;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--white);
}

.produktwelt__cat {
    display: block;
    padding: 0 20px 20px;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--white);
}

.produktwelt__card img {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--white);
    border-top: 2px solid #b38850;
}

/* Rangeslider (Original-Style) */
.produktwelt__rangeslider {
    position: relative;
    margin: 50px auto 0;
    height: 14px;
    width: 500px;
    max-width: 90%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.produktwelt__rangeslider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gold);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
    pointer-events: none;
}

.produktwelt__rangeslider-handle {
    position: absolute;
    top: -8px;
    left: 0;
    width: 26px;
    height: 31px;
    margin-left: -13px;
    cursor: pointer;
    background: var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    transition: background 0.2s ease;
}

.produktwelt__rangeslider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 12px;
    background: rgba(0,0,0,0.25);
    box-shadow: -4px 0 0 rgba(0,0,0,0.25), 4px 0 0 rgba(0,0,0,0.25);
}

.produktwelt__rangeslider-handle:hover {
    background: #c4903e;
}

/* --- Vertrieb Cards --- */
.vertrieb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.vertrieb-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f5f5f5;
    border-radius: 2px;
    transition: box-shadow 0.3s ease;
}

.vertrieb-card:hover {
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.vertrieb-card__logo {
    height: 50px;
    width: auto;
    margin: 0 auto 20px;
}

.vertrieb-card h3 {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.vertrieb-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* --- Full-width Image Section --- */
.image-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: var(--white);
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.image-section .container {
    position: relative;
    z-index: 1;
}

.image-section h2 {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.image-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
}

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

.image-section--center p {
    margin-left: auto;
    margin-right: auto;
}

/* --- Karriere Sections --- */
/* --- Karriere Hero: Split Text links / Bild rechts --- */
.karriere-hero {
    display: flex;
    min-height: 500px;
    margin-top: 70px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
}

.karriere-hero__text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 50px 60px 50px;
    color: var(--white);
}

.karriere-hero__text-inner {
    max-width: 600px;
    margin-left: auto;
}

.karriere-hero__text h1 {
    color: var(--gold);
    margin-bottom: 20px;
}

.karriere-claim {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.karriere-hero__text p {
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 15px;
}

.karriere-hero__image {
    flex: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* --- Karriere Werte: 3 Spalten --- */
.karriere-werte {
    padding: 60px 0;
}

.karriere-werte__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.karriere-werte__col h3 {
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 15px;
    line-height: 1.4;
}

.karriere-werte__col p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* --- Karriere Einblick: dunkler Hintergrund mit Textur --- */
.karriere-einblick {
    background-color: var(--text-dark);
    background-repeat: repeat;
    background-position: center center;
    background-size: auto;
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.karriere-einblick__inner {
    max-width: 800px;
    margin: 0 auto;
}

.karriere-einblick h1 {
    color: var(--gold);
    margin-bottom: 30px;
}

.karriere-spruch {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 2.2;
    color: rgba(255,255,255,0.9);
}

.karriere-autor {
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.karriere-initiativ-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: var(--gold);
    padding: 15px 40px;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.karriere-initiativ-link:hover {
    background-color: transparent;
    color: var(--gold);
}

/* --- Karriere Stellenangebote --- */
.karriere-stellen-section {
    padding: 60px 0;
}

.karriere-stellen-section h1 {
    margin-bottom: 15px;
}

.karriere-stellen-section p {
    margin-bottom: 10px;
}

.karriere-stellen-section p a {
    color: var(--gold);
}

.karriere-stellen-link {
    display: inline-block;
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.karriere-stellen-link:hover {
    opacity: 0.7;
}

.karriere-stellen-link img {
    width: 319px;
    height: auto;
}

/* --- Quote --- */
.quote-section {
    background-color: var(--text-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.quote-section blockquote {
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

.quote-section cite {
    display: block;
    margin-top: 20px;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--gold);
    letter-spacing: 1px;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--gray-dark);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 1rem;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--text-dark);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 40px;
    border: 2px solid var(--gold);
    background-color: var(--gold);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn--outline {
    background-color: transparent;
    color: var(--gold);
}

.btn--outline:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* --- Contact Info --- */
.contact-info h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info-item .label {
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-dark);
    min-width: 60px;
}

.contact-info-item .value {
    font-weight: 300;
    color: var(--text-dark);
}

.contact-info-item .value a {
    color: var(--text-dark);
}

.contact-info-item .value a:hover {
    color: var(--gold);
}

/* --- Map --- */
.map-section {
    width: 100%;
    height: 400px;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.map-section:hover {
    filter: grayscale(0);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Extras: Leitgedanke Fullscreen --- */
.extras-leitgedanke {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.extras-leitgedanke::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.extras-leitgedanke__inner {
    position: relative;
    z-index: 2;
}

.extras-leitgedanke__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.extras-leitgedanke__inner img {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* --- Extras: Split Sections (Text + Bild 50/50) --- */
.extras-split {
    display: flex;
    min-height: 500px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
}

.extras-split__text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 50px;
    color: var(--white);
}

.extras-split__text-inner {
    max-width: 600px;
    margin-left: auto;
}

.extras-split__text h1 {
    color: var(--gold);
    margin-bottom: 20px;
}

.extras-split__text p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 15px;
}

.extras-split__image {
    flex: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* Reverse: Bild links, Text rechts */
.extras-split--reverse {
    flex-direction: row-reverse;
}

.extras-split--reverse .extras-split__text-inner {
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

/* --- Legal Pages --- */
.legal-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 60vh;
}

.legal-page h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p {
    color: var(--gray-dark);
    line-height: 1.8;
}

.legal-page a {
    color: var(--gold);
}

.legal-page ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-page ul li {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 0.3rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-dark);
    border-top: 3px solid var(--gold);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col .logo-footer {
    display: block;
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-col .tagline {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--gold);
    margin-top: 5px;
}

.footer-col h4 {
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--gold);
}

.footer-social img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    filter: brightness(10);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}

/* --- Bewerbung CTA --- */
.cta-box {
    background-color: var(--gold);
    padding: 50px;
    border-radius: 2px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    color: var(--white);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-box a.btn {
    background-color: var(--white);
    color: var(--gold);
    border-color: var(--white);
}

.cta-box a.btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* =============================
   RESPONSIVE BREAKPOINTS
   ============================= */

@media (max-width: 1400px) {
    .container {
        padding: 0 30px;
    }

    .header-inner {
        padding: 0 30px;
    }
}

@media (max-width: 900px) {
    h1 {
        font-size: 2.5em;
        line-height: 1.3;
    }

    h2 {
        line-height: 1.3;
    }

    /* --- Mobile Navigation: Dropdown statt horizontal slide --- */
    .main-nav {
        position: absolute;
        top: var(--header-height);
        right: 0;
        left: auto;
        width: auto;
        min-width: 220px;
        max-width: none;
        overflow: hidden;
        max-height: 0;
        background-color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: max-height 0.4s ease;
        margin-right: 0;
    }

    .main-nav.open {
        max-width: none;
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav a {
        display: block;
        padding: 14px 30px;
        font-size: 0.9rem;
        text-align: right;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: #f5f5f5;
    }

    /* Layout */
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col--reverse {
        direction: ltr;
    }

    .start-aussen__image {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .start-aussen__content {
        flex-direction: column;
        min-height: auto;
    }

    .start-aussen__placeholder {
        display: none;
    }

    .start-geschichte {
        flex-direction: column;
    }

    .start-geschichte__slideshow {
        flex: 0 0 auto;
        min-height: 350px;
    }

    .start-geschichte__text-inner {
        max-width: 100%;
        margin-left: 0;
    }

    .profil-hero {
        flex-direction: column;
    }

    .profil-hero__slideshow {
        flex: 0 0 auto;
        min-height: 350px;
    }

    .profil-hero__text-inner {
        max-width: 100%;
        margin-left: 0;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .produktwelt__card {
        width: 220px;
        margin: 0 15px;
    }

    .karriere-hero {
        flex-direction: column;
    }

    .karriere-hero__text-inner {
        max-width: 100%;
        margin-left: 0;
    }

    .karriere-hero__image {
        min-height: 300px;
    }

    .karriere-werte__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .karriere-stellen-link img {
        width: 250px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col .logo-footer {
        margin: 0 auto 15px;
    }

    .vertrieb-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 70px 0;
    }

    .image-section {
        background-attachment: scroll;
    }
}

@media (max-width: 800px) {
    .hero {
        min-height: 500px;
    }

    .hero--small {
        min-height: 350px;
    }

    .produktwelt__card {
        width: 200px;
        margin: 0 12px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .header-inner {
        padding: 0 20px;
    }

    h1 {
        font-size: 1.75em;
    }

    h2 {
        font-size: 1.75em;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-content .tagline {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .produktwelt__card {
        width: 180px;
        margin: 0 10px;
    }

    .karriere-stellen-link img {
        max-width: 280px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .extras-split {
        flex-direction: column;
    }

    .extras-split--reverse {
        flex-direction: column;
    }

    .extras-split__text-inner,
    .extras-split--reverse .extras-split__text-inner {
        max-width: 100%;
        margin: 0;
    }

    .extras-split__image {
        min-height: 300px;
    }

    .extras-leitgedanke {
        min-height: 60vh;
    }

    .extras-leitgedanke__inner img {
        max-width: 300px;
    }

    .quote-section blockquote {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .produktwelt__card {
        width: 160px;
        margin: 0 8px;
    }

    .produktwelt__name {
        font-size: 0.9rem;
    }

}

@media (max-width: 350px) {
    .container {
        padding: 0 15px;
    }

    .header-inner {
        padding: 0 15px;
    }

    .logo img {
        height: 30px;
    }
}
